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

Unified Diff: Source/wtf/OwnPtr.h

Issue 763173003: Convert RenderBlockFlow code to use FloatingObject references (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address Review Comments Created 5 years, 9 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/wtf/OwnPtr.h
diff --git a/Source/wtf/OwnPtr.h b/Source/wtf/OwnPtr.h
index 43914c18eb479d1435db4bf3f516b969ea0295f0..1f687a975730f1a1f5da239719359900af9857ac 100644
--- a/Source/wtf/OwnPtr.h
+++ b/Source/wtf/OwnPtr.h
@@ -56,6 +56,7 @@ namespace WTF {
}
PtrType get() const { return m_ptr; }
+ ValueType& getReference() const { ASSERT(m_ptr); return *m_ptr; };
Julien - ping for review 2015/03/16 15:27:54 Note that this is basically operator* so it seems
Sunil Ratnu 2015/03/17 11:31:19 Done. Now using operator* itself instead of the ne
void clear();
PassOwnPtr<T> release();
« Source/core/layout/LayoutBlockFlowLine.cpp ('K') | « Source/core/paint/BlockFlowPainter.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698