Changeset 62749 in webkit
- Timestamp:
- Jul 7, 2010 8:34:31 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r62747 r62749 1 2010-07-07 Kent Tamura <tkent@chromium.org> 2 3 Reviewed by Dimitri Glazkov. 4 5 [DRT/Chromium] Fix two regressions 6 https://bugs.webkit.org/show_bug.cgi?id=41745 7 8 * DumpRenderTree/chromium/WebViewHost.cpp: 9 (WebViewHost::paintInvalidatedRegion): 10 Repaint three times to fix svg/W3C-SVG-1.1/struct-use-01-t.svg 11 and svg/custom/use-on-g-containing-foreignObject-and-image.svg 12 though test_shell does it twice. Probably DRT needs it because 13 DRT delays painting as possible. 14 1 15 2010-07-07 Anders Carlsson <andersca@apple.com> 2 16 -
trunk/WebKitTools/DumpRenderTree/chromium/WebViewHost.cpp
r62570 r62749 1295 1295 WebRect clientRect(0, 0, widgetSize.width, widgetSize.height); 1296 1296 1297 // Paint the canvas if necessary. Allow painting to generate extra rects the1298 // f irst time we call it.This is necessary because some WebCore rendering1297 // Paint the canvas if necessary. Allow painting to generate extra rects 1298 // for the first two calls. This is necessary because some WebCore rendering 1299 1299 // objects update their layout only when painted. 1300 1300 // Store the total area painted in total_paint. Then tell the gdk window 1301 1301 // to update that area after we're done painting it. 1302 for (int i = 0; i < 2; ++i) {1302 for (int i = 0; i < 3; ++i) { 1303 1303 // m_paintRect = intersect(m_paintRect , clientRect) 1304 1304 int left = max(m_paintRect.x, clientRect.x); … … 1316 1316 m_paintRect = WebRect(); 1317 1317 paintRect(rect); 1318 if (i == 1)1318 if (i >= 1) 1319 1319 LOG_ERROR("painting caused additional invalidations"); 1320 1320 }
Note: See TracChangeset
for help on using the changeset viewer.