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

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: fix test 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/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 6b796ab2a3f83ed4aa90b1bbf713cd912f6cd5d5..b804f9b5dbb25e9a10b8f64bea85ce1a147a405a 100644
--- a/third_party/WebKit/Source/core/frame/LocalFrame.h
+++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
@@ -215,7 +215,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