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

Unified Diff: Source/core/rendering/style/DataRef.h

Issue 695423002: Push LayoutState from RenderSVGText (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 6 years, 1 month 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 | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/rendering/style/DataRef.h
diff --git a/Source/core/rendering/style/DataRef.h b/Source/core/rendering/style/DataRef.h
index 847952e197ca9e084d2554a8fdb264891dcb5a4b..f031f3d3a7b19b904e4b6abda7857b651176c8b1 100644
--- a/Source/core/rendering/style/DataRef.h
+++ b/Source/core/rendering/style/DataRef.h
@@ -62,6 +62,7 @@ public:
return m_data != o.m_data && *m_data != *o.m_data;
}
+ void operator=(std::nullptr_t) { m_data = nullptr; }
leviw_travelin_and_unemployed 2014/11/10 21:07:23 This makes a lot more sense as a solution than you
leviw_travelin_and_unemployed 2014/11/10 21:07:23 This makes a lot more sense as a solution than you
private:
RefPtr<T> m_data;
};
« no previous file with comments | « Source/core/css/resolver/StyleAdjuster.cpp ('k') | Source/core/rendering/style/RenderStyle.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698