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

Unified Diff: gpu/blink/webgraphicscontext3d_impl.cc

Issue 802113002: Revert "Revert of Extract WebGraphicsContext3DImpl from webkit/common/gpu. (patchset #12 id:220001 … (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 6 years 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
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.h ('k') | webkit/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/blink/webgraphicscontext3d_impl.cc
diff --git a/webkit/common/gpu/webgraphicscontext3d_impl.cc b/gpu/blink/webgraphicscontext3d_impl.cc
similarity index 99%
rename from webkit/common/gpu/webgraphicscontext3d_impl.cc
rename to gpu/blink/webgraphicscontext3d_impl.cc
index 9e425097426958aa7116a2d5afbb007a6c071e65..fe9af4362daf800585af300d0494fbd214ec3e83 100644
--- a/webkit/common/gpu/webgraphicscontext3d_impl.cc
+++ b/gpu/blink/webgraphicscontext3d_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/common/gpu/webgraphicscontext3d_impl.h"
+#include "gpu/blink/webgraphicscontext3d_impl.h"
#include "base/atomicops.h"
#include "base/lazy_instance.h"
@@ -19,8 +19,7 @@
#endif
#include "third_party/khronos/GLES2/gl2ext.h"
-namespace webkit {
-namespace gpu {
+namespace gpu_blink {
namespace {
@@ -32,7 +31,7 @@ uint32_t GenFlushID() {
return static_cast<uint32_t>(my_id);
}
-} // namespace anonymous
+} // namespace
class WebGraphicsContext3DErrorMessageCallback
: public ::gpu::gles2::GLES2ImplementationErrorMessageCallback {
@@ -1028,5 +1027,4 @@ void WebGraphicsContext3DImpl::ConvertAttributes(
output_attribs->bind_generates_resource = false;
}
-} // namespace gpu
-} // namespace webkit
+} // namespace gpu_blink
« no previous file with comments | « gpu/blink/webgraphicscontext3d_impl.h ('k') | webkit/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698