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

Unified Diff: Source/core/editing/RenderedPosition.h

Issue 182413005: Return refererence from InlineBox::root() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: re-upload because previous patch didn't upload correctly. Created 6 years, 10 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/editing/RenderedPosition.h
diff --git a/Source/core/editing/RenderedPosition.h b/Source/core/editing/RenderedPosition.h
index 7cf21952631dbcde4e5c6646eb43b2f8ccfcab71..fff2d2b5e4ad5a52f91d6bf726c9a05fdb58baa8 100644
--- a/Source/core/editing/RenderedPosition.h
+++ b/Source/core/editing/RenderedPosition.h
@@ -49,7 +49,7 @@ public:
bool isEquivalent(const RenderedPosition&) const;
bool isNull() const { return !m_renderer; }
- RootInlineBox* rootBox() { return m_inlineBox ? m_inlineBox->root() : 0; }
+ RootInlineBox* rootBox() { return m_inlineBox ? &m_inlineBox->root() : 0; }
unsigned char bidiLevelOnLeft() const;
unsigned char bidiLevelOnRight() const;

Powered by Google App Engine
This is Rietveld 408576698