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

Side by Side Diff: cc/CCProxy.cpp

Issue 10905231: Enable cc_unittests in component build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mark WebThreadImplForMessageLoop ctor/dtor as exported Created 8 years, 3 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 | « cc/CCLayerTreeHostTest.cpp ('k') | cc/CCRendererGL.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 6
7 #include "CCProxy.h" 7 #include "CCProxy.h"
8 8
9 #include "CCThreadTask.h" 9 #include "CCThreadTask.h"
10 #include <wtf/MainThread.h>
11 10
12 using namespace WTF; 11 using namespace WTF;
13 12
14 namespace WebCore { 13 namespace WebCore {
15 14
16 namespace { 15 namespace {
17 #ifndef NDEBUG 16 #ifndef NDEBUG
18 bool implThreadIsOverridden = false; 17 bool implThreadIsOverridden = false;
19 bool s_isMainThreadBlocked = false; 18 bool s_isMainThreadBlocked = false;
20 base::PlatformThreadId threadIDOverridenToBeImplThread; 19 base::PlatformThreadId threadIDOverridenToBeImplThread;
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 { 96 {
98 ASSERT(isMainThread()); 97 ASSERT(isMainThread());
99 } 98 }
100 99
101 CCProxy::~CCProxy() 100 CCProxy::~CCProxy()
102 { 101 {
103 ASSERT(isMainThread()); 102 ASSERT(isMainThread());
104 } 103 }
105 104
106 } 105 }
OLDNEW
« no previous file with comments | « cc/CCLayerTreeHostTest.cpp ('k') | cc/CCRendererGL.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698