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

Unified Diff: third_party/WebKit/Source/core/style/DataRef.h

Issue 2345543002: debugging for crbug.com/646539
Patch Set: 3 TUs, 2 .h Created 4 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: third_party/WebKit/Source/core/style/DataRef.h
diff --git a/third_party/WebKit/Source/core/style/DataRef.h b/third_party/WebKit/Source/core/style/DataRef.h
index d1511da140e1d07f1154dcc1f4f00e70852c8145..b1cadae790d1b01179ac84bcba4c27f1378e4a23 100644
--- a/third_party/WebKit/Source/core/style/DataRef.h
+++ b/third_party/WebKit/Source/core/style/DataRef.h
@@ -39,8 +39,6 @@ public:
T* access()
{
- if (!m_data->hasOneRef())
- m_data = m_data->copy();
return m_data.get();
}
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | third_party/WebKit/Source/core/style/StyleRareInheritedData.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698