cc: Initialize eviction_priority_queue_is_up_to_date_ in TileManager
[chromium-blink-merge.git] / mojo / environment / default_run_loop_impl.cc
blob07037b73430f1ce8619df0b2f4592166f488c411
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "mojo/environment/default_run_loop_impl.h"
7 #include "base/logging.h"
8 #include "base/message_loop/message_loop.h"
10 namespace mojo {
11 namespace internal {
13 void InstantiateDefaultRunLoopImpl() {
14 // Not leaked: accessible from |base::MessageLoop::current()|.
15 new base::MessageLoop();
18 void DestroyDefaultRunLoopImpl() {
19 delete base::MessageLoop::current();
22 } // namespace internal
23 } // namespace mojo