Chromium Code Reviews| 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; |