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

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

Issue 1374533002: Null out LocalDOMWindow::m_frame on navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: try to fix crash-on-querying-event-path.html Created 5 years, 3 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/LocalDOMWindow.h
diff --git a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
index 379590ec26d6df6030639b9cc269a54904d840bf..279ee89fc17732873663fed46f941b20c4d90435 100644
--- a/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
+++ b/third_party/WebKit/Source/core/frame/LocalDOMWindow.h
@@ -223,13 +223,13 @@ private:
DECLARE_VIRTUAL_TRACE();
- private:
- WindowFrameObserver(LocalDOMWindow*, LocalFrame&);
-
// LocalFrameLifecycleObserver overrides:
void willDetachFrameHost() override;
void contextDestroyed() override;
+ private:
+ WindowFrameObserver(LocalDOMWindow*, LocalFrame&);
+
RawPtrWillBeMember<LocalDOMWindow> m_window;
};
friend WTF::OwnedPtrDeleter<WindowFrameObserver>;

Powered by Google App Engine
This is Rietveld 408576698