Index: cc/blink/web_external_texture_layer_impl.cc |
diff --git a/content/renderer/compositor_bindings/web_external_texture_layer_impl.cc b/cc/blink/web_external_texture_layer_impl.cc |
similarity index 91% |
rename from content/renderer/compositor_bindings/web_external_texture_layer_impl.cc |
rename to cc/blink/web_external_texture_layer_impl.cc |
index a759e5c52345c91f4272e39ae3fe24f43e4b42a4..e6c8a64607da14d1c846e7ad2cc79efc1899c675 100644 |
--- a/content/renderer/compositor_bindings/web_external_texture_layer_impl.cc |
+++ b/cc/blink/web_external_texture_layer_impl.cc |
@@ -2,14 +2,14 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#include "content/renderer/compositor_bindings/web_external_texture_layer_impl.h" |
+#include "cc/blink/web_external_texture_layer_impl.h" |
+#include "cc/blink/web_external_bitmap_impl.h" |
+#include "cc/blink/web_layer_impl.h" |
#include "cc/layers/texture_layer.h" |
#include "cc/resources/resource_update_queue.h" |
#include "cc/resources/single_release_callback.h" |
#include "cc/resources/texture_mailbox.h" |
-#include "content/renderer/compositor_bindings/web_external_bitmap_impl.h" |
-#include "content/renderer/compositor_bindings/web_layer_impl.h" |
#include "third_party/WebKit/public/platform/WebExternalTextureLayerClient.h" |
#include "third_party/WebKit/public/platform/WebExternalTextureMailbox.h" |
#include "third_party/WebKit/public/platform/WebFloatRect.h" |
@@ -20,7 +20,7 @@ |
using cc::TextureLayer; |
using cc::ResourceUpdateQueue; |
-namespace content { |
+namespace cc_blink { |
WebExternalTextureLayerImpl::WebExternalTextureLayerImpl( |
blink::WebExternalTextureLayerClient* client) |
@@ -50,8 +50,8 @@ void WebExternalTextureLayerImpl::setOpaque(bool opaque) { |
void WebExternalTextureLayerImpl::setPremultipliedAlpha( |
bool premultiplied_alpha) { |
- static_cast<TextureLayer*>(layer_->layer())->SetPremultipliedAlpha( |
- premultiplied_alpha); |
+ static_cast<TextureLayer*>(layer_->layer()) |
+ ->SetPremultipliedAlpha(premultiplied_alpha); |
} |
void WebExternalTextureLayerImpl::setBlendBackgroundColor(bool blend) { |
@@ -122,5 +122,4 @@ void WebExternalTextureLayerImpl::DidReleaseMailbox( |
layer->client_->mailboxReleased(available_mailbox, lost_resource); |
} |
-} // namespace content |
- |
+} // namespace cc_blink |