| Index: content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc
|
| diff --git a/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc b/content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc
|
| similarity index 93%
|
| rename from webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc
|
| rename to content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc
|
| index 134ce406cca04f0d7eebf89828b4799e250ddfb2..6f6c65df9eb23ba1f6f0c6201be08594103e5605 100644
|
| --- a/webkit/renderer/compositor_bindings/web_layer_impl_fixed_bounds.cc
|
| +++ b/content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.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_layer_impl_fixed_bounds.h"
|
| +#include "content/renderer/compositor_bindings/web_layer_impl_fixed_bounds.h"
|
|
|
| #include "cc/layers/layer.h"
|
| #include "third_party/WebKit/public/platform/WebFloatPoint.h"
|
| @@ -11,7 +11,7 @@
|
|
|
| using cc::Layer;
|
|
|
| -namespace webkit {
|
| +namespace content {
|
|
|
| WebLayerImplFixedBounds::WebLayerImplFixedBounds() {
|
| }
|
| @@ -20,7 +20,6 @@ WebLayerImplFixedBounds::WebLayerImplFixedBounds(scoped_refptr<Layer> layer)
|
| : WebLayerImpl(layer) {
|
| }
|
|
|
| -
|
| WebLayerImplFixedBounds::~WebLayerImplFixedBounds() {
|
| }
|
|
|
| @@ -40,8 +39,8 @@ void WebLayerImplFixedBounds::setTransformOrigin(
|
|
|
| void WebLayerImplFixedBounds::setBounds(const blink::WebSize& bounds) {
|
| if (original_bounds_ != gfx::Size(bounds)) {
|
| - original_bounds_ = bounds;
|
| - UpdateLayerBoundsAndTransform();
|
| + original_bounds_ = bounds;
|
| + UpdateLayerBoundsAndTransform();
|
| }
|
| }
|
|
|
| @@ -98,4 +97,5 @@ void WebLayerImplFixedBounds::UpdateLayerBoundsAndTransform() {
|
| layer_->SetTransform(transform_with_bounds_scale);
|
| }
|
|
|
| -} // namespace webkit
|
| +} // namespace content
|
| +
|
|
|