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

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

Issue 1398703003: Fix an issue that an invalid surface could be passed to MediaPlayerBridge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: addressing comments Created 5 years, 2 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 | « media/base/android/media_player_bridge.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/android/scoped_java_surface.h
diff --git a/ui/gl/android/scoped_java_surface.h b/ui/gl/android/scoped_java_surface.h
index 54ed2a45190288f62a93e1018b8b9d0e4117055e..641df64a506f32ddce83f7a0e819dbf976cfd9f2 100644
--- a/ui/gl/android/scoped_java_surface.h
+++ b/ui/gl/android/scoped_java_surface.h
@@ -42,10 +42,10 @@ class GL_EXPORT ScopedJavaSurface {
~ScopedJavaSurface();
- // Check whether the surface is an empty one.
+ // Checks whether the surface is an empty one.
bool IsEmpty() const;
- // Check whether the surface is hardware protected so that no readback is
+ // Checks whether the surface is hardware protected so that no readback is
// possible.
bool is_protected() const { return is_protected_; }
« no previous file with comments | « media/base/android/media_player_bridge.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698