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

Unified Diff: Source/core/css/MediaValuesDynamic.h

Issue 1260403002: Oilpan: Remove raw pointer to LocalFrame from MediaValuesDynamic (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/css/MediaValuesDynamic.h
diff --git a/Source/core/css/MediaValuesDynamic.h b/Source/core/css/MediaValuesDynamic.h
index b4e6ec592baebeef20b96d356b771c54baa054f8..35b3c9af2407d97a34517e3121382159512abdbe 100644
--- a/Source/core/css/MediaValuesDynamic.h
+++ b/Source/core/css/MediaValuesDynamic.h
@@ -43,8 +43,7 @@ protected:
// This raw ptr is safe, as MediaValues would not outlive MediaQueryEvaluator, and
// MediaQueryEvaluator is reset on |Document::detach|.
- // FIXME: Oilpan: This raw ptr should be changed to a Member when LocalFrame is migrated to the heap.
- LocalFrame* m_frame;
+ RawPtrWillBePersistent<LocalFrame> m_frame;
haraken 2015/07/30 06:08:58 If the RawPtrWillBePersistent doesn't cause a cycl
keishi 2015/08/06 06:48:49 Done.
};
} // namespace
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698