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

Unified Diff: third_party/WebKit/Source/core/dom/StyleReattachData.h

Issue 2473743003: Call Element::rebuildLayoutTree from Document::updateStyle directly (Closed)
Patch Set: Address esprehn's comments Created 4 years 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/dom/StyleReattachData.h
diff --git a/third_party/WebKit/Source/core/dom/StyleReattachData.h b/third_party/WebKit/Source/core/dom/StyleReattachData.h
index 9b5daad0b2856054081ea91950df396873f4cfc8..c0302f957493ada6808e86758bbcdb344c880bf5 100644
--- a/third_party/WebKit/Source/core/dom/StyleReattachData.h
+++ b/third_party/WebKit/Source/core/dom/StyleReattachData.h
@@ -5,9 +5,12 @@
#ifndef StyleReattachData_h
#define StyleReattachData_h
+#include "core/style/ComputedStyle.h"
+
namespace blink {
struct StyleReattachData {
+ StyleReattachData() : computedStyle(nullptr) {}
esprehn 2016/12/14 04:30:48 RefPtr actually defaults to nullptr, no reason to
nainar 2016/12/14 22:21:54 Done.
DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
DEFINE_INLINE_TRACE() { visitor->trace(nextTextSibling); }

Powered by Google App Engine
This is Rietveld 408576698