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

Unified Diff: webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc

Issue 12496013: Move compositor bindings implementations out of WebKit::, fix style (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 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: webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
diff --git a/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc b/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
index 7322d3ff51adacbf980b34332dd70d64dc155a2b..5346a83b08b2494e5d6c197f2781eae35b671b8e 100644
--- a/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
+++ b/webkit/compositor_bindings/web_layer_impl_fixed_bounds_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <vector>
#include "cc/layers/picture_image_layer.h"
#include "cc/test/geometry_test_utils.h"
#include "cc/trees/layer_tree_host_common.h"
@@ -12,7 +13,11 @@
#include "ui/gfx/point3_f.h"
#include "webkit/compositor_bindings/web_layer_impl_fixed_bounds.h"
-using namespace WebKit;
+using WebKit::WebFloatPoint;
+using WebKit::WebSize;
+
+namespace webkit {
+namespace {
TEST(WebLayerImplFixedBoundsTest, IdentityBounds) {
scoped_ptr<WebLayerImplFixedBounds> layer(new WebLayerImplFixedBounds());
@@ -187,3 +192,6 @@ TEST(WebLayerImplFixedBoundsTest, CompareToWebLayerImplComplex) {
transform,
sublayer_transform);
}
+
+} // namespace
+} // namespace webkit

Powered by Google App Engine
This is Rietveld 408576698