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

Unified Diff: Source/core/frame/FrameConsole.h

Issue 517043003: Move Frame to the Oilpan heap. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Back out non-Oilpan experiment + tidy up by adding frame() ref accessors Created 6 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: Source/core/frame/FrameConsole.h
diff --git a/Source/core/frame/FrameConsole.h b/Source/core/frame/FrameConsole.h
index fb94e1056c15dd6a2db1f9f6ebfb8f285c27ee31..194d5e8733cb39042e934793701f055dec3fbcce 100644
--- a/Source/core/frame/FrameConsole.h
+++ b/Source/core/frame/FrameConsole.h
@@ -73,8 +73,9 @@ public:
private:
explicit FrameConsole(LocalFrame&);
- LocalFrame& m_frame;
+ LocalFrame& frame() const { return *m_frame; }
haraken 2014/09/22 05:35:22 Add ASSERT(m_frame).
+ RawPtrWillBeMember<LocalFrame> m_frame;
OwnPtrWillBeMember<ConsoleMessageStorage> m_consoleMessageStorage;
};

Powered by Google App Engine
This is Rietveld 408576698