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

Unified Diff: Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.cpp

Issue 1018863002: compositor-worker: Introduce CompositorWorker. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: . Created 5 years, 9 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/modules/v8/custom/V8CompositorWorkerCustom.cpp
diff --git a/Source/bindings/modules/v8/custom/V8ClientCustom.cpp b/Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.cpp
similarity index 50%
copy from Source/bindings/modules/v8/custom/V8ClientCustom.cpp
copy to Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.cpp
index cdeca9450cbaf40a4b7631e4edda50bd768d4c4e..c9fa25c613b32e399a9010f415a5fe037c7fa309 100644
--- a/Source/bindings/modules/v8/custom/V8ClientCustom.cpp
+++ b/Source/bindings/modules/v8/custom/V8CompositorWorkerCustom.cpp
@@ -1,9 +1,9 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "config.h"
-#include "bindings/modules/v8/V8Client.h"
+#include "bindings/modules/v8/V8CompositorWorker.h"
#include "bindings/core/v8/PostMessage.h"
#include "bindings/core/v8/V8Binding.h"
@@ -11,9 +11,9 @@
namespace blink {
// FIXME: This stub should be replaced by generated code.
tkent 2015/03/26 04:22:10 nit: FIXME -> TODO(sadrul)
sadrul 2015/03/26 04:36:38 Done.
-void V8Client::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
+void V8CompositorWorker::postMessageMethodCustom(const v8::FunctionCallbackInfo<v8::Value>& info)
{
- postMessageMethodCommon("ServiceWorkerClient", V8Client::toImpl(info.Holder()), info);
+ postMessageMethodCommon("CompositorWorker", V8CompositorWorker::toImpl(info.Holder()), info);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698