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

Unified Diff: views/widget/native_widget_win.cc

Issue 8383028: ui/gfx: Convert Canvas::ClipRectInt() to use gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix typo Created 9 years, 2 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
« no previous file with comments | « views/view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/native_widget_win.cc
diff --git a/views/widget/native_widget_win.cc b/views/widget/native_widget_win.cc
index 60dae841e222af8f4d87919d74252790bd3de1f5..b6f1a3f031cc37a11c639222da4e8a4444d74328 100644
--- a/views/widget/native_widget_win.cc
+++ b/views/widget/native_widget_win.cc
@@ -2322,10 +2322,7 @@ void NativeWidgetWin::RedrawLayeredWindowContents() {
// We need to clip to the dirty rect ourselves.
layered_window_contents_->sk_canvas()->save(SkCanvas::kClip_SaveFlag);
- layered_window_contents_->ClipRectInt(invalid_rect_.x(),
- invalid_rect_.y(),
- invalid_rect_.width(),
- invalid_rect_.height());
+ layered_window_contents_->ClipRectInt(invalid_rect_);
GetWidget()->GetRootView()->Paint(layered_window_contents_.get());
layered_window_contents_->sk_canvas()->restore();
« no previous file with comments | « views/view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698