Index: third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
index 9d1d9c23411a4be9f7bb5fc6c14d71ed313fe466..a4b0a7ac0ddcb584f77f4793d8c3c88dedf8396f 100644 |
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp |
@@ -278,9 +278,9 @@ void LinkHighlightImpl::PaintContents( |
return; |
PaintRecorder recorder; |
- gfx::Rect visual_rect = PaintableRegion(); |
+ gfx::Rect record_bounds = PaintableRegion(); |
PaintCanvas* canvas = |
- recorder.beginRecording(visual_rect.width(), visual_rect.height()); |
+ recorder.beginRecording(record_bounds.width(), record_bounds.height()); |
PaintFlags flags; |
flags.setStyle(PaintFlags::kFill_Style); |
@@ -289,9 +289,11 @@ void LinkHighlightImpl::PaintContents( |
canvas->drawPath(path_.GetSkPath(), flags); |
web_display_item_list->AppendDrawingItem( |
- WebRect(visual_rect.x(), visual_rect.y(), visual_rect.width(), |
- visual_rect.height()), |
- recorder.finishRecordingAsPicture()); |
+ WebRect(record_bounds.x(), record_bounds.y(), record_bounds.width(), |
+ record_bounds.height()), |
+ recorder.finishRecordingAsPicture(), |
+ WebRect(record_bounds.x(), record_bounds.y(), record_bounds.width(), |
+ record_bounds.height())); |
} |
void LinkHighlightImpl::StartHighlightAnimationIfNeeded() { |