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

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

Issue 2860293002: Change cc::ElementId to be a uint64_t (Closed)
Patch Set: none 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..54410ea27f0f7c448972d0cbc9c489823a43a61a 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));
suzyh_UTC10 (ex-contributor) 2017/05/08 01:04:15 Ditto here, is the cast required?
chrishtr 2017/05/08 16:32:13 Ditto.
if (scroll_)
return transform + " scroll=" + scroll_->ToString();
return transform;

Powered by Google App Engine
This is Rietveld 408576698