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

Unified Diff: content/public/browser/screen_orientation_provider.h

Issue 2630323002: [ScreenOrientation] Fix a possible crash point in ScreenOrientationProvider. (Closed)
Patch Set: Created 3 years, 11 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: content/public/browser/screen_orientation_provider.h
diff --git a/content/public/browser/screen_orientation_provider.h b/content/public/browser/screen_orientation_provider.h
index 2ec21bcac33022bb6db001e992e94328a3be3652..cff52fe1416536ace33f6e41915f8968aabf6682 100644
--- a/content/public/browser/screen_orientation_provider.h
+++ b/content/public/browser/screen_orientation_provider.h
@@ -72,7 +72,6 @@ class CONTENT_EXPORT ScreenOrientationProvider : public WebContentsObserver {
// Locks that require orientation changes are not completed until
// OnOrientationChange.
-
base::Optional<blink::WebScreenOrientationLockType> pending_lock_orientation_;
LockOrientationCallback on_result_callback_;

Powered by Google App Engine
This is Rietveld 408576698