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

Unified Diff: ui/gl/android/scoped_java_surface.cc

Issue 1998723002: Move code in ui/gl/* from gfx:: to gl:: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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
« no previous file with comments | « ui/gl/android/scoped_java_surface.h ('k') | ui/gl/android/surface_texture.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/android/scoped_java_surface.cc
diff --git a/ui/gl/android/scoped_java_surface.cc b/ui/gl/android/scoped_java_surface.cc
index 37118ae2647cca96167f21459121760f00da74aa..ad83708715595fe12c923301c492616d025464e9 100644
--- a/ui/gl/android/scoped_java_surface.cc
+++ b/ui/gl/android/scoped_java_surface.cc
@@ -21,7 +21,7 @@ void RegisterNativesIfNeeded(JNIEnv* env) {
} // anonymous namespace
-namespace gfx {
+namespace gl {
ScopedJavaSurface::ScopedJavaSurface() {
}
@@ -80,10 +80,10 @@ ScopedJavaSurface ScopedJavaSurface::AcquireExternalSurface(jobject surface) {
JNIEnv* env = base::android::AttachCurrentThread();
ScopedJavaLocalRef<jobject> surface_ref;
surface_ref.Reset(env, surface);
- gfx::ScopedJavaSurface scoped_surface(surface_ref);
+ gl::ScopedJavaSurface scoped_surface(surface_ref);
scoped_surface.auto_release_ = false;
scoped_surface.is_protected_ = true;
return scoped_surface;
}
-} // namespace gfx
+} // namespace gl
« no previous file with comments | « ui/gl/android/scoped_java_surface.h ('k') | ui/gl/android/surface_texture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698