Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: Source/web/SuspendableTaskRunner.cpp

Issue 994083002: Oilpan: fix build after r191633. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h" 5 #include "config.h"
6 #include "web/SuspendableTaskRunner.h" 6 #include "web/SuspendableTaskRunner.h"
7 7
8 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
9 9
10 namespace blink { 10 namespace blink {
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 void SuspendableTaskRunner::runAndDestroySelf() 55 void SuspendableTaskRunner::runAndDestroySelf()
56 { 56 {
57 // After calling the destructor of object - object will be unsubscribed from 57 // After calling the destructor of object - object will be unsubscribed from
58 // resumed and contextDestroyed LifecycleObserver methods. 58 // resumed and contextDestroyed LifecycleObserver methods.
59 m_task->run(); 59 m_task->run();
60 deref(); 60 deref();
61 } 61 }
62 62
63 DEFINE_TRACE(SuspendableTaskRunner) 63 DEFINE_TRACE(SuspendableTaskRunner)
64 { 64 {
65 #if ENABLE(OILPAN)
66 visitor->trace(m_frame);
67 visitor->trace(m_sources);
68 #endif
69 SuspendableTimer::trace(visitor); 65 SuspendableTimer::trace(visitor);
70 } 66 }
71 67
72 } // namespace blink 68 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698