diff options
Diffstat (limited to 'webkit/port/platform/chromium/RenderThemeGtk.cpp')
-rw-r--r-- | webkit/port/platform/chromium/RenderThemeGtk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webkit/port/platform/chromium/RenderThemeGtk.cpp b/webkit/port/platform/chromium/RenderThemeGtk.cpp index c9f00ed..a28fa64 100644 --- a/webkit/port/platform/chromium/RenderThemeGtk.cpp +++ b/webkit/port/platform/chromium/RenderThemeGtk.cpp @@ -191,8 +191,8 @@ static bool paintMozWidget(RenderTheme* theme, GtkThemeWidgetType type, RenderOb GdkRectangle gdkClipRect; gdkClipRect.x = pos.x(); gdkClipRect.y = pos.y(); - gdkClipRect.width = SkScalarRound(clip_region.width()); - gdkClipRect.height = SkScalarRound(clip_region.height()); + gdkClipRect.width = clip_region.width(); + gdkClipRect.height = clip_region.height(); // moz_gtk_widget_paint will paint outside the bounds of gdkRect unless we further restrict |gdkClipRect|. gdk_rectangle_intersect(&gdkRect, &gdkClipRect, &gdkClipRect); |