Index: ui/compositor/test/grcontext_for_webgraphicscontext3d.cc |
diff --git a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc b/ui/compositor/test/grcontext_for_webgraphicscontext3d.cc |
similarity index 94% |
copy from webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
copy to ui/compositor/test/grcontext_for_webgraphicscontext3d.cc |
index 92e99de460b701eefeeda5084f2915000efc7bc7..ee5c7b1e1759ca20995c64ff30e5895ba1383478 100644 |
--- a/webkit/common/gpu/grcontext_for_webgraphicscontext3d.cc |
+++ b/ui/compositor/test/grcontext_for_webgraphicscontext3d.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/common/gpu/grcontext_for_webgraphicscontext3d.h" |
+#include "ui/compositor/test/grcontext_for_webgraphicscontext3d.h" |
#include "base/debug/trace_event.h" |
#include "base/lazy_instance.h" |
@@ -13,8 +13,7 @@ |
using gpu_blink::WebGraphicsContext3DImpl; |
-namespace webkit { |
-namespace gpu { |
+namespace ui { |
namespace { |
@@ -37,7 +36,7 @@ void BindWebGraphicsContext3DGLContextCallback(const GrGLInterface* interface) { |
interface->fCallbackData)->GetGLInterface()); |
} |
-} // namespace anonymous |
+} // namespace |
GrContextForWebGraphicsContext3D::GrContextForWebGraphicsContext3D( |
WebGraphicsContext3DImpl* context3d) { |
@@ -88,5 +87,4 @@ void GrContextForWebGraphicsContext3D::FreeGpuResources() { |
} |
} |
-} // namespace gpu |
-} // namespace webkit |
+} // namespace ui |