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

Side by Side Diff: third_party/WebKit/Source/web/WebKit.cpp

Issue 2547053003: s/ passed(...) / WTF::passed(...) / to avoid future ambiguity w/ base::Passed. (Closed)
Patch Set: Rebasing... Created 4 years 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 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 V8Initializer::reportRejectedPromisesOnMainThread(); 64 V8Initializer::reportRejectedPromisesOnMainThread();
65 } 65 }
66 }; 66 };
67 67
68 } // namespace 68 } // namespace
69 69
70 static WebThread::TaskObserver* s_endOfTaskRunner = nullptr; 70 static WebThread::TaskObserver* s_endOfTaskRunner = nullptr;
71 71
72 static ModulesInitializer& modulesInitializer() { 72 static ModulesInitializer& modulesInitializer() {
73 DEFINE_STATIC_LOCAL(std::unique_ptr<ModulesInitializer>, initializer, 73 DEFINE_STATIC_LOCAL(std::unique_ptr<ModulesInitializer>, initializer,
74 (wrapUnique(new ModulesInitializer))); 74 (WTF::wrapUnique(new ModulesInitializer)));
75 return *initializer; 75 return *initializer;
76 } 76 }
77 77
78 void initialize(Platform* platform) { 78 void initialize(Platform* platform) {
79 Platform::initialize(platform); 79 Platform::initialize(platform);
80 80
81 V8Initializer::initializeMainThread(); 81 V8Initializer::initializeMainThread();
82 82
83 modulesInitializer().initialize(); 83 modulesInitializer().initialize();
84 84
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 void MemoryPressureNotificationToWorkerThreadIsolates( 146 void MemoryPressureNotificationToWorkerThreadIsolates(
147 v8::MemoryPressureLevel level) { 147 v8::MemoryPressureLevel level) {
148 WorkerBackingThread::MemoryPressureNotificationToWorkerThreadIsolates(level); 148 WorkerBackingThread::MemoryPressureNotificationToWorkerThreadIsolates(level);
149 } 149 }
150 150
151 void setRAILModeOnWorkerThreadIsolates(v8::RAILMode railMode) { 151 void setRAILModeOnWorkerThreadIsolates(v8::RAILMode railMode) {
152 WorkerBackingThread::setRAILModeOnWorkerThreadIsolates(railMode); 152 WorkerBackingThread::setRAILModeOnWorkerThreadIsolates(railMode);
153 } 153 }
154 154
155 } // namespace blink 155 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698