[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75

ajwong at chromium.org ajwong at chromium.org
Thu Oct 29 20:47:56 UTC 2009


The following commit has been merged in the webkit-1.1 branch:
commit 7b3ad13d5643ec3e419695691d96e884dcff8dcb
Author: ajwong at chromium.org <ajwong at chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Mon Oct 19 19:19:10 2009 +0000

    Forcefully set antialiasing for Chromium media controls.
    
    Patch by Andrew Scherkus <scherkus at chromium.org> on 2009-10-19
    Reviewed by NOBODY (OOPS!).
    
    https://bugs.webkit.org/show_bug.cgi?id=30521
    
    Before it was nondeterministiacally being enabled based on the previous state of GraphicsContext.
    
    Covered by existing layout tests.
    
    * rendering/RenderMediaControlsChromium.cpp:
    (WebCore::paintMediaSlider): Added setShouldAntialias(true).
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49799 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 12b93a4..233ed76 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,18 @@
+2009-10-19  Andrew Scherkus  <scherkus at chromium.org>
+
+        Reviewed by David Levin.
+
+        Forcefully set antialiasing for Chromium media controls.
+
+        https://bugs.webkit.org/show_bug.cgi?id=30521
+
+        Before it was nondeterministiacally being enabled based on the previous state of GraphicsContext.
+
+        Covered by existing layout tests.
+
+        * rendering/RenderMediaControlsChromium.cpp:
+        (WebCore::paintMediaSlider): Added setShouldAntialias(true).
+
 2009-10-19  Jens Alfke  <jens at mooseyard.com>
 
         Reviewed by Darin Adler.
diff --git a/WebCore/rendering/RenderMediaControlsChromium.cpp b/WebCore/rendering/RenderMediaControlsChromium.cpp
index 7f54e6a..ed20ecf 100644
--- a/WebCore/rendering/RenderMediaControlsChromium.cpp
+++ b/WebCore/rendering/RenderMediaControlsChromium.cpp
@@ -107,6 +107,7 @@ static bool paintMediaSlider(RenderObject* object, const RenderObject::PaintInfo
     // FIXME: this should be a rounded rect but need to fix GraphicsContextSkia first.
     // https://bugs.webkit.org/show_bug.cgi?id=30143
     context->save();
+    context->setShouldAntialias(true);
     context->setStrokeStyle(SolidStroke);
     context->setStrokeColor(style->borderLeftColor());
     context->setStrokeThickness(style->borderLeftWidth());

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list