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

Unified Diff: Source/core/page/Chrome.cpp

Issue 15820002: Page::chrome() should return a reference. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 7 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 | « Source/core/page/BarProp.cpp ('k') | Source/core/page/Console.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/Chrome.cpp
diff --git a/Source/core/page/Chrome.cpp b/Source/core/page/Chrome.cpp
index 227ef56d0055b4499bb7a2c22085b35c1983fddc..dcdaacdd75deac4c86a286ced37aba7bea7e80ee 100644
--- a/Source/core/page/Chrome.cpp
+++ b/Source/core/page/Chrome.cpp
@@ -188,7 +188,7 @@ static bool canRunModalIfDuringPageDismissal(Page* page, ChromeClient::DialogTyp
for (Frame* frame = page->mainFrame(); frame; frame = frame->tree()->traverseNext()) {
FrameLoader::PageDismissalType dismissal = frame->loader()->pageDismissalEventBeingDispatched();
if (dismissal != FrameLoader::NoDismissal)
- return page->chrome()->client()->shouldRunModalDialogDuringPageDismissal(dialog, message, dismissal);
+ return page->chrome().client()->shouldRunModalDialogDuringPageDismissal(dialog, message, dismissal);
}
return true;
}
« no previous file with comments | « Source/core/page/BarProp.cpp ('k') | Source/core/page/Console.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698