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

Side by Side Diff: third_party/WebKit/Source/core/workers/ThreadedObjectProxyBase.cpp

Issue 2700123003: DO NOT COMMIT: Results of running old (current) clang-format on Blink (Closed)
Patch Set: Created 3 years, 10 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "core/workers/ThreadedObjectProxyBase.h" 5 #include "core/workers/ThreadedObjectProxyBase.h"
6 6
7 #include <memory>
7 #include "core/dom/ExecutionContext.h" 8 #include "core/dom/ExecutionContext.h"
8 #include "core/inspector/ConsoleMessage.h" 9 #include "core/inspector/ConsoleMessage.h"
9 #include "core/workers/ParentFrameTaskRunners.h" 10 #include "core/workers/ParentFrameTaskRunners.h"
10 #include "core/workers/ThreadedMessagingProxyBase.h" 11 #include "core/workers/ThreadedMessagingProxyBase.h"
11 #include "platform/CrossThreadFunctional.h" 12 #include "platform/CrossThreadFunctional.h"
12 #include "platform/WebTaskRunner.h" 13 #include "platform/WebTaskRunner.h"
13 #include "wtf/Functional.h" 14 #include "wtf/Functional.h"
14 #include "wtf/PtrUtil.h" 15 #include "wtf/PtrUtil.h"
15 #include <memory>
16 16
17 namespace blink { 17 namespace blink {
18 18
19 void ThreadedObjectProxyBase::countFeature(UseCounter::Feature feature) { 19 void ThreadedObjectProxyBase::countFeature(UseCounter::Feature feature) {
20 getParentFrameTaskRunners() 20 getParentFrameTaskRunners()
21 ->get(TaskType::UnspecedTimer) 21 ->get(TaskType::UnspecedTimer)
22 ->postTask(BLINK_FROM_HERE, 22 ->postTask(BLINK_FROM_HERE,
23 crossThreadBind(&ThreadedMessagingProxyBase::countFeature, 23 crossThreadBind(&ThreadedMessagingProxyBase::countFeature,
24 messagingProxyWeakPtr(), feature)); 24 messagingProxyWeakPtr(), feature));
25 } 25 }
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 ParentFrameTaskRunners* ThreadedObjectProxyBase::getParentFrameTaskRunners() { 79 ParentFrameTaskRunners* ThreadedObjectProxyBase::getParentFrameTaskRunners() {
80 return m_parentFrameTaskRunners.get(); 80 return m_parentFrameTaskRunners.get();
81 } 81 }
82 82
83 ThreadedObjectProxyBase::ThreadedObjectProxyBase( 83 ThreadedObjectProxyBase::ThreadedObjectProxyBase(
84 ParentFrameTaskRunners* parentFrameTaskRunners) 84 ParentFrameTaskRunners* parentFrameTaskRunners)
85 : m_parentFrameTaskRunners(parentFrameTaskRunners) {} 85 : m_parentFrameTaskRunners(parentFrameTaskRunners) {}
86 86
87 } // namespace blink 87 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698