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

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

Issue 1538363002: Remove config.h inclusion from third_party/WebKit/Source/core/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 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"
6 #include "core/workers/Worker.h" 5 #include "core/workers/Worker.h"
7 6
8 #include "bindings/core/v8/ExceptionState.h" 7 #include "bindings/core/v8/ExceptionState.h"
9 #include "core/dom/Document.h" 8 #include "core/dom/Document.h"
10 #include "core/dom/ExceptionCode.h" 9 #include "core/dom/ExceptionCode.h"
11 #include "core/frame/UseCounter.h" 10 #include "core/frame/UseCounter.h"
12 #include "core/workers/WorkerGlobalScopeProxy.h" 11 #include "core/workers/WorkerGlobalScopeProxy.h"
13 #include "core/workers/WorkerGlobalScopeProxyProvider.h" 12 #include "core/workers/WorkerGlobalScopeProxyProvider.h"
14 13
15 namespace blink { 14 namespace blink {
(...skipping 30 matching lines...) Expand all
46 45
47 WorkerGlobalScopeProxy* Worker::createWorkerGlobalScopeProxy(ExecutionContext* c ontext) 46 WorkerGlobalScopeProxy* Worker::createWorkerGlobalScopeProxy(ExecutionContext* c ontext)
48 { 47 {
49 Document* document = toDocument(context); 48 Document* document = toDocument(context);
50 WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvid er::from(*document->page()); 49 WorkerGlobalScopeProxyProvider* proxyProvider = WorkerGlobalScopeProxyProvid er::from(*document->page());
51 ASSERT(proxyProvider); 50 ASSERT(proxyProvider);
52 return proxyProvider->createWorkerGlobalScopeProxy(this); 51 return proxyProvider->createWorkerGlobalScopeProxy(this);
53 } 52 }
54 53
55 } // namespace blink 54 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698