Title: [124181] trunk/Source/WebCore
- Revision
- 124181
- Author
- [email protected]
- Date
- 2012-07-31 01:09:49 -0700 (Tue, 31 Jul 2012)
Log Message
Unreviewed crash fix after r124135.
* platform/graphics/cairo/PathCairo.cpp:
(WebCore::Path::Path): Ensure the Cairo path when acquiring its context,
crashes ensue otherwise.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (124180 => 124181)
--- trunk/Source/WebCore/ChangeLog 2012-07-31 07:58:47 UTC (rev 124180)
+++ trunk/Source/WebCore/ChangeLog 2012-07-31 08:09:49 UTC (rev 124181)
@@ -1,3 +1,11 @@
+2012-07-31 Zan Dobersek <[email protected]>
+
+ Unreviewed crash fix after r124135.
+
+ * platform/graphics/cairo/PathCairo.cpp:
+ (WebCore::Path::Path): Ensure the Cairo path when acquiring its context,
+ crashes ensue otherwise.
+
2012-07-31 Yoshifumi Inoue <[email protected]>
Change Element::isReadOnlyFormControl to Element::shouldMatchReadOnlySelector/shouldMatchReadWriteSelector or HTMLFormControlElement::readOnly
Modified: trunk/Source/WebCore/platform/graphics/cairo/PathCairo.cpp (124180 => 124181)
--- trunk/Source/WebCore/platform/graphics/cairo/PathCairo.cpp 2012-07-31 07:58:47 UTC (rev 124180)
+++ trunk/Source/WebCore/platform/graphics/cairo/PathCairo.cpp 2012-07-31 08:09:49 UTC (rev 124181)
@@ -56,7 +56,7 @@
if (other.isNull())
return;
- cairo_t* cr = platformPath()->context();
+ cairo_t* cr = ensurePlatformPath()->context();
OwnPtr<cairo_path_t> pathCopy = adoptPtr(cairo_copy_path(other.platformPath()->context()));
cairo_append_path(cr, pathCopy.get());
}
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo/webkit-changes