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

Unified Diff: components/display_compositor/gl_helper_scaling.cc

Issue 1902463002: Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove bot changes. Will do in a separate CL Created 4 years, 8 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: components/display_compositor/gl_helper_scaling.cc
diff --git a/content/browser/compositor/gl_helper_scaling.cc b/components/display_compositor/gl_helper_scaling.cc
similarity index 99%
rename from content/browser/compositor/gl_helper_scaling.cc
rename to components/display_compositor/gl_helper_scaling.cc
index 3fe193392ca2224b5b60abe630187784e6270aaa..ec6c057d235545a28437957e08295d3d520bbabb 100644
--- a/content/browser/compositor/gl_helper_scaling.cc
+++ b/components/display_compositor/gl_helper_scaling.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 "content/browser/compositor/gl_helper_scaling.h"
+#include "components/display_compositor/gl_helper_scaling.h"
#include <stddef.h>
@@ -25,7 +25,7 @@
using gpu::gles2::GLES2Interface;
-namespace content {
+namespace display_compositor {
GLHelperScaling::GLHelperScaling(GLES2Interface* gl, GLHelper* helper)
: gl_(gl), helper_(helper), vertex_attributes_buffer_(gl_) {
@@ -878,4 +878,4 @@ void ShaderProgram::UseProgram(const gfx::Size& src_size,
gl_->Uniform4fv(color_weights_location_, 1, color_weights);
}
-} // namespace content
+} // namespace display_compositor
« no previous file with comments | « components/display_compositor/gl_helper_scaling.h ('k') | components/display_compositor/gl_helper_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698