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

Unified Diff: content/renderer/compositor_bindings/web_external_bitmap_impl.cc

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots 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: content/renderer/compositor_bindings/web_external_bitmap_impl.cc
diff --git a/webkit/renderer/compositor_bindings/web_external_bitmap_impl.cc b/content/renderer/compositor_bindings/web_external_bitmap_impl.cc
similarity index 79%
rename from webkit/renderer/compositor_bindings/web_external_bitmap_impl.cc
rename to content/renderer/compositor_bindings/web_external_bitmap_impl.cc
index 5e97b57980613bfc16ddfd76afd3b8c7c9c2efbb..82881c50bd50312c9bd640a701ea41763aeef30f 100644
--- a/webkit/renderer/compositor_bindings/web_external_bitmap_impl.cc
+++ b/content/renderer/compositor_bindings/web_external_bitmap_impl.cc
@@ -2,11 +2,11 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "webkit/renderer/compositor_bindings/web_external_bitmap_impl.h"
+#include "content/renderer/compositor_bindings/web_external_bitmap_impl.h"
#include "base/memory/shared_memory.h"
-namespace webkit {
+namespace content {
namespace {
@@ -19,9 +19,11 @@ void SetSharedMemoryAllocationFunction(
g_memory_allocator = allocator;
}
-WebExternalBitmapImpl::WebExternalBitmapImpl() {}
+WebExternalBitmapImpl::WebExternalBitmapImpl() {
+}
-WebExternalBitmapImpl::~WebExternalBitmapImpl() {}
+WebExternalBitmapImpl::~WebExternalBitmapImpl() {
+}
void WebExternalBitmapImpl::setSize(blink::WebSize size) {
if (size != size_) {
@@ -41,4 +43,5 @@ uint8* WebExternalBitmapImpl::pixels() {
return static_cast<uint8*>(shared_memory_->memory());
}
-} // namespace webkit
+} // namespace content
+

Powered by Google App Engine
This is Rietveld 408576698