Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: WebCore/dom/Document.h
- ===================================================================
- --- WebCore/dom/Document.h (revision 121274)
- +++ WebCore/dom/Document.h (working copy)
- @@ -528,6 +528,8 @@
- void registerCustomFont(PassOwnPtr<FontData>);
- + void deleteCustomFonts();
- +
- // Returns true if page box (margin boxes and page borders) is visible.
- bool isPageBoxVisible(int pageIndex);
- @@ -1188,8 +1190,6 @@
- void seamlessParentUpdatedStylesheets();
- void notifySeamlessChildDocumentsOfStylesheetUpdate() const;
- - void deleteCustomFonts();
- -
- PassRefPtr<NodeList> handleZeroPadding(const HitTestRequest&, HitTestResult&) const;
- void loadEventDelayTimerFired(Timer<Document>*);
- Index: WebCore/page/FrameView.cpp
- ===================================================================
- --- WebCore/page/FrameView.cpp (revision 121274)
- +++ WebCore/page/FrameView.cpp (working copy)
- @@ -985,6 +985,7 @@
- // Viewport-dependent media queries may cause us to need completely different style information.
- // Check that here.
- if (document->styleResolver()->affectedByViewportChange()) {
- + document->deleteCustomFonts();
- document->styleResolverChanged(RecalcStyleImmediately);
- InspectorInstrumentation::mediaQueryResultChanged(document);
- } else
Advertisement
Add Comment
Please, Sign In to add comment