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

Unified Diff: Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp

Issue 331373002: Split bindings/v8/custom into core and modules. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp
diff --git a/Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp b/Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp
similarity index 99%
rename from Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp
rename to Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp
index ca43934106b6f9709fc9d2db594c225ee2b24333..150620d59e4de7c71249b8e23cd5cddcc4b0edb1 100644
--- a/Source/bindings/v8/custom/V8WorkerGlobalScopeCustom.cpp
+++ b/Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp
@@ -36,10 +36,10 @@
#include "bindings/v8/V8Binding.h"
#include "bindings/v8/V8WorkerGlobalScopeEventListener.h"
#include "bindings/v8/WorkerScriptController.h"
-#include "core/inspector/ScriptCallStack.h"
#include "core/frame/DOMTimer.h"
#include "core/frame/DOMWindowTimers.h"
#include "core/frame/csp/ContentSecurityPolicy.h"
+#include "core/inspector/ScriptCallStack.h"
#include "core/workers/WorkerGlobalScope.h"
#include "modules/websockets/WebSocket.h"
#include "wtf/OwnPtr.h"
@@ -81,8 +81,9 @@ static void setTimeoutOrInterval(const v8::FunctionCallbackInfo<v8::Value>& info
}
// ScheduledAction takes ownership of actual params and releases them in its destructor.
action = adoptPtr(new ScheduledAction(scriptState, v8::Handle<v8::Function>::Cast(function), paramCount, params.get(), info.GetIsolate()));
- } else
+ } else {
return;
+ }
int32_t timeout = argumentCount >= 2 ? info[1]->Int32Value() : 0;
int timerId;
« no previous file with comments | « Source/bindings/core/v8/custom/V8WorkerCustom.cpp ('k') | Source/bindings/core/v8/custom/V8XMLHttpRequestCustom.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698