Index: content/renderer/compositor_bindings/web_content_layer_impl.cc |
diff --git a/webkit/renderer/compositor_bindings/web_content_layer_impl.cc b/content/renderer/compositor_bindings/web_content_layer_impl.cc |
similarity index 88% |
rename from webkit/renderer/compositor_bindings/web_content_layer_impl.cc |
rename to content/renderer/compositor_bindings/web_content_layer_impl.cc |
index 96799e689f38ea1d7b8f28ba47991ed65b6c40d1..3d1492f954953b7d13e0bf3f7b06ed51157e69e2 100644 |
--- a/webkit/renderer/compositor_bindings/web_content_layer_impl.cc |
+++ b/content/renderer/compositor_bindings/web_content_layer_impl.cc |
@@ -2,7 +2,7 @@ |
// 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_content_layer_impl.h" |
+#include "content/renderer/compositor_bindings/web_content_layer_impl.h" |
#include "cc/layers/content_layer.h" |
#include "cc/layers/picture_layer.h" |
@@ -16,11 +16,10 @@ |
using cc::ContentLayer; |
using cc::PictureLayer; |
-namespace webkit { |
+namespace content { |
WebContentLayerImpl::WebContentLayerImpl(blink::WebContentLayerClient* client) |
- : client_(client), |
- ignore_lcd_text_change_(false) { |
+ : client_(client), ignore_lcd_text_change_(false) { |
if (WebLayerImpl::UsingPictureLayer()) |
layer_ = make_scoped_ptr(new WebLayerImpl(PictureLayer::Create(this))); |
else |
@@ -36,7 +35,9 @@ WebContentLayerImpl::~WebContentLayerImpl() { |
static_cast<ContentLayer*>(layer_->layer())->ClearClient(); |
} |
-blink::WebLayer* WebContentLayerImpl::layer() { return layer_.get(); } |
+blink::WebLayer* WebContentLayerImpl::layer() { |
+ return layer_.get(); |
+} |
void WebContentLayerImpl::setDoubleSided(bool double_sided) { |
layer_->layer()->SetDoubleSided(double_sided); |
@@ -81,6 +82,9 @@ void WebContentLayerImpl::DidChangeLayerCanUseLCDText() { |
layer_->invalidate(); |
} |
-bool WebContentLayerImpl::FillsBoundsCompletely() const { return false; } |
+bool WebContentLayerImpl::FillsBoundsCompletely() const { |
+ return false; |
+} |
+ |
+} // namespace content |
-} // namespace webkit |