Changeset 168580 in webkit
- Timestamp:
- May 10, 2014 12:50:34 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r168577 r168580 1 2014-05-10 Darin Adler <darin@apple.com> 2 3 REGRESSION (r166853): fast/preloader/document-write.html is very flaky 4 https://bugs.webkit.org/show_bug.cgi?id=130942 5 6 Reviewed by Anders Carlsson. 7 8 * platform/mac/TestExpectations: Turned the test back on. 9 1 10 2014-05-09 Dean Jackson <dino@apple.com> 2 11 -
trunk/LayoutTests/platform/mac/TestExpectations
r168554 r168580 1353 1353 webkit.org/b/130972 transitions/3d/interrupted-transition.html [ Pass Failure Timeout ] 1354 1354 1355 webkit.org/b/130942 fast/preloader/document-write.html [ Pass Failure ]1356 1357 1355 webkit.org/b/118153 compositing/repaint/positioned-movement.html [ Pass Failure ] 1358 1356 -
trunk/Source/WebCore/ChangeLog
r168579 r168580 1 2014-05-10 Darin Adler <darin@apple.com> 2 3 REGRESSION (r166853): fast/preloader/document-write.html is very flaky 4 https://bugs.webkit.org/show_bug.cgi?id=130942 5 6 Reviewed by Anders Carlsson. 7 8 * style/StyleResolveTree.cpp: 9 (WebCore::Style::suspendMemoryCacheClientCalls): Use a RefPtr to the main 10 frame as a weak pointer to a Page that will work unless the page is destroyed. 11 The old code tried to do it with a RefPtr to a document, but as the FIXME 12 points out, that won't work if the document is disassociated with its frame. 13 1 14 2014-05-10 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/Source/WebCore/style/StyleResolveTree.cpp
r166853 r168580 35 35 #include "InsertionPoint.h" 36 36 #include "LoaderStrategy.h" 37 #include "MainFrame.h" 37 38 #include "NodeRenderStyle.h" 38 39 #include "NodeRenderingTraversal.h" … … 988 989 page->setMemoryCacheClientCallsEnabled(false); 989 990 990 RefPtr<Document> protectedDocument = &document; 991 postResolutionCallbackQueue().append([protectedDocument]{ 992 // FIXME: If the document becomes unassociated with the page during style resolution 993 // then this won't work and the memory cache client calls will be permanently disabled. 994 if (Page* page = protectedDocument->page()) 991 RefPtr<MainFrame> protectedMainFrame = &page->mainFrame(); 992 postResolutionCallbackQueue().append([protectedMainFrame]{ 993 if (Page* page = protectedMainFrame->page()) 995 994 page->setMemoryCacheClientCallsEnabled(true); 996 995 });
Note: See TracChangeset
for help on using the changeset viewer.