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

Unified Diff: Source/core/layout/TracedLayoutObject.h

Issue 1305043007: Don't trace LayoutObject geometry prior to running layout. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: Source/core/layout/TracedLayoutObject.h
diff --git a/Source/core/layout/TracedLayoutObject.h b/Source/core/layout/TracedLayoutObject.h
index e4f7ccc76b8b5605c1beae2d42606595b0deb490..265905d5e58785772e63e1735796f928b4ea7dad 100644
--- a/Source/core/layout/TracedLayoutObject.h
+++ b/Source/core/layout/TracedLayoutObject.h
@@ -18,12 +18,12 @@ class LayoutView;
class TracedLayoutObject : public TraceEvent::ConvertableToTraceFormat {
WTF_MAKE_NONCOPYABLE(TracedLayoutObject);
public:
- static PassRefPtr<TraceEvent::ConvertableToTraceFormat> create(const LayoutView&);
+ static PassRefPtr<TraceEvent::ConvertableToTraceFormat> create(const LayoutView&, bool traceGeometry = true);
String asTraceFormat() const override;
private:
- explicit TracedLayoutObject(const LayoutObject&);
+ explicit TracedLayoutObject(const LayoutObject&, bool traceGeometry, bool traceGeometry);
PassRefPtr<JSONObject> toJSON() const;

Powered by Google App Engine
This is Rietveld 408576698