Changeset 149800 in webkit
- Timestamp:
- May 9, 2013 6:11:30 AM (11 years ago)
- Location:
- trunk/Source/WebKit/qt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/qt/Api/qwebelement.cpp
r149671 r149800 837 837 Vector<RefPtr<StyleRuleBase> > rules = doc->ensureStyleResolver()->styleRulesForElement(m_element, StyleResolver::AuthorCSSRules | StyleResolver::CrossOriginCSSRules); 838 838 for (int i = rules.size(); i > 0; --i) { 839 if (!rules[i ]->isStyleRule())839 if (!rules[i - 1]->isStyleRule()) 840 840 continue; 841 841 StyleRule* styleRule = static_cast<StyleRule*>(rules[i - 1].get()); -
trunk/Source/WebKit/qt/ChangeLog
r149671 r149800 1 2013-05-09 Andreas Kling <akling@apple.com> 2 3 [Qt][WK1]REGRESSION(r149532) tst_qwebelement and tst_qwebframe API tests crash. 4 <http://webkit.org/b/115855> 5 6 Fix obvious off-by-one mistake. 7 8 * Api/qwebelement.cpp: 9 (QWebElement::styleProperty): 10 1 11 2013-05-07 Allan Sandfeld Jensen <allan.jensen@digia.com> 2 12
Note: See TracChangeset
for help on using the changeset viewer.