| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2001 Dirk Mueller (mueller@kde.org) | 4 * (C) 2001 Dirk Mueller (mueller@kde.org) |
| 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) | 5 * (C) 2006 Alexey Proskuryakov (ap@webkit.org) |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights
reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2011 Apple Inc. All rights
reserved. |
| 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) | 7 * Copyright (C) 2008, 2009 Torch Mobile Inc. All rights reserved. (http://www.t
orchmobile.com/) |
| 8 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2008, 2009 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies) |
| 10 * | 10 * |
| (...skipping 1471 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1482 // If we didn't update compositing layers because of layout(), we need t
o do so here. | 1482 // If we didn't update compositing layers because of layout(), we need t
o do so here. |
| 1483 if (!layoutPending) | 1483 if (!layoutPending) |
| 1484 view()->updateCompositingLayers(); | 1484 view()->updateCompositingLayers(); |
| 1485 } | 1485 } |
| 1486 #endif | 1486 #endif |
| 1487 | 1487 |
| 1488 bail_out: | 1488 bail_out: |
| 1489 clearNeedsStyleRecalc(); | 1489 clearNeedsStyleRecalc(); |
| 1490 clearChildNeedsStyleRecalc(); | 1490 clearChildNeedsStyleRecalc(); |
| 1491 unscheduleStyleRecalc(); | 1491 unscheduleStyleRecalc(); |
| 1492 |
| 1493 m_inStyleRecalc = false; |
| 1492 | 1494 |
| 1493 // Pseudo element removal and similar may only work with these flags still s
et. Reset them after the style recalc. | 1495 // Pseudo element removal and similar may only work with these flags still s
et. Reset them after the style recalc. |
| 1494 if (m_styleSelector) { | 1496 if (m_styleSelector) { |
| 1495 m_usesSiblingRules = m_styleSelector->usesSiblingRules(); | 1497 m_usesSiblingRules = m_styleSelector->usesSiblingRules(); |
| 1496 m_usesFirstLineRules = m_styleSelector->usesFirstLineRules(); | 1498 m_usesFirstLineRules = m_styleSelector->usesFirstLineRules(); |
| 1497 m_usesBeforeAfterRules = m_styleSelector->usesBeforeAfterRules(); | 1499 m_usesBeforeAfterRules = m_styleSelector->usesBeforeAfterRules(); |
| 1498 m_usesLinkRules = m_styleSelector->usesLinkRules(); | 1500 m_usesLinkRules = m_styleSelector->usesLinkRules(); |
| 1499 } | 1501 } |
| 1500 | 1502 |
| 1501 if (frameView) { | 1503 if (frameView) { |
| 1502 frameView->resumeScheduledEvents(); | 1504 frameView->resumeScheduledEvents(); |
| 1503 frameView->endDeferredRepaints(); | 1505 frameView->endDeferredRepaints(); |
| 1504 } | 1506 } |
| 1505 RenderWidget::resumeWidgetHierarchyUpdates(); | 1507 RenderWidget::resumeWidgetHierarchyUpdates(); |
| 1506 resumePostAttachCallbacks(); | 1508 resumePostAttachCallbacks(); |
| 1507 m_inStyleRecalc = false; | |
| 1508 | 1509 |
| 1509 // If we wanted to call implicitClose() during recalcStyle, do so now that w
e're finished. | 1510 // If we wanted to call implicitClose() during recalcStyle, do so now that w
e're finished. |
| 1510 if (m_closeAfterStyleRecalc) { | 1511 if (m_closeAfterStyleRecalc) { |
| 1511 m_closeAfterStyleRecalc = false; | 1512 m_closeAfterStyleRecalc = false; |
| 1512 implicitClose(); | 1513 implicitClose(); |
| 1513 } | 1514 } |
| 1514 | 1515 |
| 1515 InspectorInstrumentation::didRecalculateStyle(cookie); | 1516 InspectorInstrumentation::didRecalculateStyle(cookie); |
| 1516 } | 1517 } |
| 1517 | 1518 |
| (...skipping 3453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4971 return Touch::create(frame, target, identifier, screenX, screenY, pageX, pag
eY); | 4972 return Touch::create(frame, target, identifier, screenX, screenY, pageX, pag
eY); |
| 4972 } | 4973 } |
| 4973 | 4974 |
| 4974 PassRefPtr<TouchList> Document::createTouchList(ExceptionCode&) const | 4975 PassRefPtr<TouchList> Document::createTouchList(ExceptionCode&) const |
| 4975 { | 4976 { |
| 4976 return TouchList::create(); | 4977 return TouchList::create(); |
| 4977 } | 4978 } |
| 4978 #endif | 4979 #endif |
| 4979 | 4980 |
| 4980 } // namespace WebCore | 4981 } // namespace WebCore |
| OLD | NEW |