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

Unified Diff: chrome/browser/ui/gtk/gtk_theme_service.cc

Issue 8681001: Revert 111288 - Possibly broke media_unittests on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « no previous file | chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/gtk_theme_service.cc
===================================================================
--- chrome/browser/ui/gtk/gtk_theme_service.cc (revision 111322)
+++ chrome/browser/ui/gtk/gtk_theme_service.cc (working copy)
@@ -1072,10 +1072,11 @@
paint.setShader(shader);
shader->unref();
- canvas.DrawRect(gfx::Rect(0, 0, kToolbarImageWidth, gradient_size), paint);
+ canvas.DrawRectInt(0, 0, kToolbarImageWidth, gradient_size, paint);
}
- canvas.FillRect(base, gfx::Rect(0, gradient_size, kToolbarImageWidth,
+ canvas.FillRect(base, gfx::Rect(0, gradient_size,
+ kToolbarImageWidth,
kToolbarImageHeight - gradient_size));
return new SkBitmap(canvas.ExtractBitmap());
}
« no previous file with comments | « no previous file | chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698