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

Unified Diff: third_party/WebKit/Source/core/frame/LocalFrame.h

Issue 2487403002: Allow navigations to frames that aren't being unloaded in the unload handler. (Closed)
Patch Set: addressing comments 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: third_party/WebKit/Source/core/frame/LocalFrame.h
diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
index 51d953ec92a97e6597a916694f3e2b5b3ceb0aa9..d8e5dac18f865548fc69922c02e45c5eaadedc05 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -214,7 +214,7 @@ class CORE_EXPORT LocalFrame final : public Frame,
WebFrameScheduler* frameScheduler();
void scheduleVisualUpdateUnlessThrottled();
- bool isNavigationAllowed() const { return m_navigationDisableCount == 0; }
+ bool isNavigationAllowed() const;
InterfaceProvider* interfaceProvider() { return m_interfaceProvider; }
InterfaceRegistry* interfaceRegistry() { return m_interfaceRegistry; }

Powered by Google App Engine
This is Rietveld 408576698