Changeset 61957 in webkit
- Timestamp:
- Jun 26, 2010 10:23:42 AM (14 years ago)
- Location:
- trunk/WebKit/chromium
- Files:
-
- 5 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r61950 r61957 1 2010-06-26 Sheriff Bot <webkit.review.bot@gmail.com> 2 3 Unreviewed, rolling out r61943. 4 http://trac.webkit.org/changeset/61943 5 https://bugs.webkit.org/show_bug.cgi?id=41251 6 7 Totally breaks webkit_unit_tests on Chromium linux and mac 8 (Requested by mnaganov on #webkit). 9 10 * WebKit.gyp: 11 * src/WebFrameImpl.cpp: 12 (WebKit::frameContentAsPlainText): 13 * tests/RunAllTests.cpp: 14 (main): 15 * tests/WebFrameTest.cpp: Removed. 16 * tests/data/iframes_test.html: Removed. 17 * tests/data/invisible_iframe.html: Removed. 18 * tests/data/visible_iframe.html: Removed. 19 * tests/data/zero_sized_iframe.html: Removed. 20 1 21 2010-06-26 Tony Gentilcore <tonyg@chromium.org> 2 22 -
trunk/WebKit/chromium/WebKit.gyp
r61943 r61957 560 560 '<(chromium_src_dir)/base/base.gyp:base', 561 561 '<(chromium_src_dir)/base/base.gyp:base_i18n', 562 '<(chromium_src_dir)/webkit/support/webkit_support.gyp:webkit_support',563 562 '<(chromium_src_dir)/gpu/gpu.gyp:gles2_c_lib', 564 563 ], … … 572 571 'tests/KURLTest.cpp', 573 572 'tests/RunAllTests.cpp', 574 'tests/WebFrameTest.cpp',575 573 ], 576 574 'conditions': [ -
trunk/WebKit/chromium/src/WebFrameImpl.cpp
r61943 r61957 234 234 FrameTree* frameTree = frame->tree(); 235 235 for (Frame* curChild = frameTree->firstChild(); curChild; curChild = curChild->tree()->nextSibling()) { 236 // Ignore the text of non-visible frames.237 RenderView* contentRenderer = curChild->contentRenderer();238 RenderPart* ownerRenderer = curChild->ownerRenderer();239 if (!contentRenderer || !contentRenderer->width() || !contentRenderer->height()240 || (contentRenderer->x() + contentRenderer->width() <= 0) || (contentRenderer->y() + contentRenderer->height() <= 0)241 || (ownerRenderer && ownerRenderer->style() && ownerRenderer->style()->visibility() != VISIBLE)) {242 continue;243 }244 245 236 // Make sure the frame separator won't fill up the buffer, and give up if 246 237 // it will. The danger is if the separator will make the buffer longer than -
trunk/WebKit/chromium/tests/RunAllTests.cpp
r61943 r61957 34 34 #include "WebKit.h" 35 35 #include "WebKitClient.h" 36 #include <webkit/support/webkit_support.h> 36 37 // WebKitClient has a protected destructor, so we need to subclass. 38 class DummyWebKitClient : public WebKit::WebKitClient { 39 }; 37 40 38 41 int main(int argc, char** argv) 39 42 { 40 TestSuite testSuite(argc, argv);41 // TestSuite must be created before SetUpTestEnvironment so it performs42 // initializations needed by WebKit support. 43 webkit_support::SetUpTestEnvironmentForUnitTests();44 int result = testSuite.Run(); 45 webkit_support::TearDownTestEnvironment();43 DummyWebKitClient dummyClient; 44 WebKit::initialize(&dummyClient); 45 46 int result = TestSuite(argc, argv).Run(); 47 48 WebKit::shutdown(); 46 49 return result; 47 50 }
Note: See TracChangeset
for help on using the changeset viewer.