Title: [181434] trunk/Source/WebCore
- Revision
- 181434
- Author
- [email protected]
- Date
- 2015-03-11 23:37:53 -0700 (Wed, 11 Mar 2015)
Log Message
Unreviewed follow-up fix to r181426. Initialize TextPosition with zeros in case it gets used.
Address ASSERT in LayoutTests/printing/page-format-data.html.
* dom/InlineStyleSheetOwner.cpp:
(WebCore::InlineStyleSheetOwner::InlineStyleSheetOwner):
In case the TextPosition gets used because it wasn't created by a parser,
zeros are more realistic values then beforeFirst.
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (181433 => 181434)
--- trunk/Source/WebCore/ChangeLog 2015-03-12 06:22:31 UTC (rev 181433)
+++ trunk/Source/WebCore/ChangeLog 2015-03-12 06:37:53 UTC (rev 181434)
@@ -1,3 +1,14 @@
+2015-03-11 Joseph Pecoraro <[email protected]>
+
+ Unreviewed follow-up fix to r181426. Initialize TextPosition with zeros in case it gets used.
+
+ Address ASSERT in LayoutTests/printing/page-format-data.html.
+
+ * dom/InlineStyleSheetOwner.cpp:
+ (WebCore::InlineStyleSheetOwner::InlineStyleSheetOwner):
+ In case the TextPosition gets used because it wasn't created by a parser,
+ zeros are more realistic values then beforeFirst.
+
2015-03-11 Roger Fong <[email protected]>
Media element time no longer updates while scrubbing following r181279.
Modified: trunk/Source/WebCore/dom/InlineStyleSheetOwner.cpp (181433 => 181434)
--- trunk/Source/WebCore/dom/InlineStyleSheetOwner.cpp 2015-03-12 06:22:31 UTC (rev 181433)
+++ trunk/Source/WebCore/dom/InlineStyleSheetOwner.cpp 2015-03-12 06:37:53 UTC (rev 181434)
@@ -35,7 +35,7 @@
InlineStyleSheetOwner::InlineStyleSheetOwner(Document& document, bool createdByParser)
: m_isParsingChildren(createdByParser)
, m_loading(false)
- , m_startTextPosition(WTF::OrdinalNumber::beforeFirst(), WTF::OrdinalNumber::beforeFirst())
+ , m_startTextPosition()
{
if (createdByParser && document.scriptableDocumentParser() && !document.isInDocumentWrite())
m_startTextPosition = document.scriptableDocumentParser()->textPosition();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes