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

Unified Diff: third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: Merge branch 'master' into secondaryid Created 3 years, 7 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/platform/graphics/paint/TransformPaintPropertyNode.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
index 6260949e4e7dd0c9f1aa81cc718d4a00608cafce..ab43c96a6842f5a119579c1982595da461109628 100644
--- a/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
+++ b/third_party/WebKit/Source/platform/graphics/paint/TransformPaintPropertyNode.cpp
@@ -39,12 +39,12 @@ String TransformPaintPropertyNode::ToString() const {
auto transform = String::Format(
"parent=%p transform=%s origin=%s flattensInheritedTransform=%s "
"renderingContextId=%x directCompositingReasons=%s "
- "compositorElementId=(%d, %d)",
+ "compositorElementId=%lu",
parent_.Get(), matrix_.ToString().Ascii().data(),
origin_.ToString().Ascii().data(),
flattens_inherited_transform_ ? "yes" : "no", rendering_context_id_,
CompositingReasonsAsString(direct_compositing_reasons_).Ascii().data(),
- compositor_element_id_.primaryId, compositor_element_id_.secondaryId);
+ static_cast<unsigned long>(compositor_element_id_.id_));
if (scroll_)
return transform + " scroll=" + scroll_->ToString();
return transform;

Powered by Google App Engine
This is Rietveld 408576698