| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
| 3 * 1999 Lars Knoll <knoll@kde.org> | 3 * 1999 Lars Knoll <knoll@kde.org> |
| 4 * 1999 Antti Koivisto <koivisto@kde.org> | 4 * 1999 Antti Koivisto <koivisto@kde.org> |
| 5 * 2000 Dirk Mueller <mueller@kde.org> | 5 * 2000 Dirk Mueller <mueller@kde.org> |
| 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 7 * (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) | 8 * (C) 2006 Alexey Proskuryakov (ap@nypop.com) |
| 9 * Copyright (C) 2009 Google Inc. All rights reserved. | 9 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 10 * | 10 * |
| (...skipping 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 m_inSynchronousPostLayout = true; | 759 m_inSynchronousPostLayout = true; |
| 760 performPostLayoutTasks(); | 760 performPostLayoutTasks(); |
| 761 m_inSynchronousPostLayout = false; | 761 m_inSynchronousPostLayout = false; |
| 762 } | 762 } |
| 763 | 763 |
| 764 Document* document = m_frame->document(); | 764 Document* document = m_frame->document(); |
| 765 document->notifyResizeForViewportUnits(); | 765 document->notifyResizeForViewportUnits(); |
| 766 | 766 |
| 767 // Viewport-dependent media queries may cause us to need completely differen
t style information. | 767 // Viewport-dependent media queries may cause us to need completely differen
t style information. |
| 768 if (!document->styleResolver() || document->styleResolver()->mediaQueryAffec
tedByViewportChange()) { | 768 if (!document->styleResolver() || document->styleResolver()->mediaQueryAffec
tedByViewportChange()) { |
| 769 document->styleResolverChanged(RecalcStyleDeferred); | 769 document->styleResolverChanged(); |
| 770 document->mediaQueryAffectingValueChanged(); | 770 document->mediaQueryAffectingValueChanged(); |
| 771 | 771 |
| 772 // FIXME: This instrumentation event is not strictly accurate since cach
ed media query results | 772 // FIXME: This instrumentation event is not strictly accurate since cach
ed media query results |
| 773 // do not persist across StyleResolver rebuilds. | 773 // do not persist across StyleResolver rebuilds. |
| 774 InspectorInstrumentation::mediaQueryResultChanged(document); | 774 InspectorInstrumentation::mediaQueryResultChanged(document); |
| 775 } else { | 775 } else { |
| 776 document->evaluateMediaQueryList(); | 776 document->evaluateMediaQueryList(); |
| 777 } | 777 } |
| 778 | 778 |
| 779 document->updateRenderTreeIfNeeded(); | 779 document->updateRenderTreeIfNeeded(); |
| (...skipping 2501 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3281 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) | 3281 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation o
rientation) |
| 3282 { | 3282 { |
| 3283 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); | 3283 ScrollableArea::willRemoveScrollbar(scrollbar, orientation); |
| 3284 if (AXObjectCache* cache = axObjectCache()) { | 3284 if (AXObjectCache* cache = axObjectCache()) { |
| 3285 cache->remove(scrollbar); | 3285 cache->remove(scrollbar); |
| 3286 cache->handleScrollbarUpdate(this); | 3286 cache->handleScrollbarUpdate(this); |
| 3287 } | 3287 } |
| 3288 } | 3288 } |
| 3289 | 3289 |
| 3290 } // namespace WebCore | 3290 } // namespace WebCore |
| OLD | NEW |