Title: [91388] trunk/Source/WebCore
- Revision
- 91388
- Author
- [email protected]
- Date
- 2011-07-20 12:31:06 -0700 (Wed, 20 Jul 2011)
Log Message
update FontSkia to match platform context convention
https://bugs.webkit.org/show_bug.cgi?id=64795
Reviewed by James Robinson.
No new tests. This platform variant is not
built at this time.
* platform/graphics/skia/FontSkia.cpp:
(WebCore::Font::drawGlyphs):
Call makeGrContextCurrent instead of the obsolete prepareForSoftwareDraw.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (91387 => 91388)
--- trunk/Source/WebCore/ChangeLog 2011-07-20 19:16:55 UTC (rev 91387)
+++ trunk/Source/WebCore/ChangeLog 2011-07-20 19:31:06 UTC (rev 91388)
@@ -1,3 +1,17 @@
+2011-07-20 Cary Clark <[email protected]>
+
+ update FontSkia to match platform context convention
+ https://bugs.webkit.org/show_bug.cgi?id=64795
+
+ Reviewed by James Robinson.
+
+ No new tests. This platform variant is not
+ built at this time.
+
+ * platform/graphics/skia/FontSkia.cpp:
+ (WebCore::Font::drawGlyphs):
+ Call makeGrContextCurrent instead of the obsolete prepareForSoftwareDraw.
+
2011-07-20 Brian Weinstein <[email protected]>
Build fix after r91384. Add an ASSERT_UNSED for the timer.
Modified: trunk/Source/WebCore/platform/graphics/skia/FontSkia.cpp (91387 => 91388)
--- trunk/Source/WebCore/platform/graphics/skia/FontSkia.cpp 2011-07-20 19:16:55 UTC (rev 91387)
+++ trunk/Source/WebCore/platform/graphics/skia/FontSkia.cpp 2011-07-20 19:31:06 UTC (rev 91388)
@@ -129,7 +129,7 @@
y += SkFloatToScalar(adv[i].height);
}
- gc->platformContext()->prepareForSoftwareDraw();
+ gc->platformContext()->makeGrContextCurrent();
SkCanvas* canvas = gc->platformContext()->canvas();
TextDrawingModeFlags textMode = gc->platformContext()->getTextDrawingMode();
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes