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

Unified Diff: third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp

Issue 2562323002: Devirtualize Frame::domWindow(). (Closed)
Patch Set: Created 4 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
Index: third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
index 6c464086695340955369b11e5ee7a14f48874355..997249995470aab7debb16e78f59f12943e063ca 100644
--- a/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
+++ b/third_party/WebKit/Source/web/tests/ScreenWakeLockTest.cpp
@@ -109,8 +109,8 @@ class ScreenWakeLockTest : public testing::Test {
blink::Screen* screen() {
DCHECK(frame());
- DCHECK(frame()->localDOMWindow());
- return frame()->localDOMWindow()->screen();
+ DCHECK(frame()->domWindow());
+ return frame()->domWindow()->screen();
}
bool screenKeepAwake() {

Powered by Google App Engine
This is Rietveld 408576698