1. 17 May, 2011 1 commit
    • commit-queue@webkit.org's avatar
      2011-05-16 Sheriff Bot <webkit.review.bot@gmail.com> · 5a39502a
      commit-queue@webkit.org authored
              Unreviewed, rolling out r86653.
              http://trac.webkit.org/changeset/86653
              https://bugs.webkit.org/show_bug.cgi?id=60944
      
              "Caused regressions on Windows, OSX and EFL" (Requested by
              yutak on #webkit).
      
              * DerivedSources.make:
              * DerivedSources.pro:
              * GNUmakefile.am:
              * GNUmakefile.list.am:
              * JavaScriptCore.exp:
              * JavaScriptCore.gypi:
              * JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.def:
              * create_hash_table:
              * heap/Heap.cpp:
              (JSC::TypeCounter::operator()):
              * interpreter/CallFrame.h:
              (JSC::ExecState::arrayTable):
              (JSC::ExecState::numberTable):
              * runtime/ArrayConstructor.cpp:
              (JSC::ArrayConstructor::ArrayConstructor):
              * runtime/ArrayConstructor.h:
              * runtime/ArrayPrototype.cpp:
              (JSC::ArrayPrototype::getOwnPropertySlot):
              (JSC::ArrayPrototype::getOwnPropertyDescriptor):
              * runtime/ArrayPrototype.h:
              * runtime/BooleanPrototype.cpp:
              (JSC::BooleanPrototype::BooleanPrototype):
              * runtime/BooleanPrototype.h:
              * runtime/DateConstructor.cpp:
              (JSC::DateConstructor::DateConstructor):
              * runtime/DateConstructor.h:
              * runtime/ErrorPrototype.cpp:
              (JSC::ErrorPrototype::ErrorPrototype):
              * runtime/ErrorPrototype.h:
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::JSGlobalData):
              (JSC::JSGlobalData::~JSGlobalData):
              * runtime/JSGlobalData.h:
              * runtime/JSGlobalObject.cpp:
              (JSC::JSGlobalObject::reset):
              * runtime/JSGlobalObject.h:
              (JSC::JSGlobalObject::addStaticGlobals):
              (JSC::JSGlobalObject::getOwnPropertySlot):
              (JSC::JSGlobalObject::getOwnPropertyDescriptor):
              * runtime/JSGlobalObjectFunctions.cpp:
              (JSC::globalFuncJSCPrint):
              * runtime/JSGlobalObjectFunctions.h:
              * runtime/MathObject.cpp:
              * runtime/NumberConstructor.cpp:
              (JSC::NumberConstructor::getOwnPropertySlot):
              (JSC::NumberConstructor::getOwnPropertyDescriptor):
              * runtime/NumberPrototype.cpp:
              (JSC::NumberPrototype::NumberPrototype):
              * runtime/NumberPrototype.h:
              * runtime/ObjectPrototype.cpp:
              (JSC::ObjectPrototype::ObjectPrototype):
              (JSC::ObjectPrototype::put):
              (JSC::ObjectPrototype::getOwnPropertySlot):
              * runtime/ObjectPrototype.h:
              * runtime/RegExpPrototype.cpp:
              (JSC::RegExpPrototype::RegExpPrototype):
              * runtime/RegExpPrototype.h:
              * runtime/StringConstructor.cpp:
              (JSC::StringConstructor::StringConstructor):
              * runtime/StringConstructor.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86657 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5a39502a
  2. 16 May, 2011 39 commits
    • morrita@google.com's avatar
      2011-05-16 MORITA Hajime <morrita@google.com> · 420cb083
      morrita@google.com authored
              Unreviewed build fix for r86647, which broke SUPPORT_AUTOCORRECTION_PANEL.
      
              * editing/SpellingCorrectionController.cpp:
              (WebCore::markersHaveIdenticalDescription):
              (WebCore::SpellingCorrectionController::recordSpellcheckerResponseForModifiedCorrection):
              (WebCore::SpellingCorrectionController::processMarkersOnTextToBeReplacedByResult):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86656 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      420cb083
    • yuzo@google.com's avatar
      2011-05-16 Yuzo Fujishima <yuzo@google.com> · c9644de0
      yuzo@google.com authored
              Unreviewed Chromium test expectation change.
      
              svg/hixie/perf/00{1,2}.xml now pass on Linux.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86655 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c9644de0
    • tkent@chromium.org's avatar
      2011-05-16 Kent Tamura <tkent@chromium.org> · 6bdd86e7
      tkent@chromium.org authored
              Fix Leopard build.
      
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::stepUpFromRenderer): Use double instead of int.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86654 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6bdd86e7
    • ggaren@apple.com's avatar
      2011-05-16 Geoffrey Garen <ggaren@apple.com> · 836c5d91
      ggaren@apple.com authored
              Reviewed by Geoffrey Garen.
      
              Global object initialization is expensive
              https://bugs.webkit.org/show_bug.cgi?id=60933
              
              Changed a bunch of globals to allocate their properties lazily, and changed
              the global object to allocate a bunch of its globals lazily.
              
              This reduces the footprint of a global object from 287 objects with 58
              functions for 24K to 173 objects with 20 functions for 15K.
      
              Large patch, but it's all mechanical.
      
              * DerivedSources.make:
              * JavaScriptCore.exp: Build!
      
              * create_hash_table: Added a special case for fromCharCode, since it uses
              a custom "thunk generator".
      
              * heap/Heap.cpp:
              (JSC::TypeCounter::operator()): Fixed a bug where the type counter would
              overcount objects that were owned through more than one mechanism because
              it was getting in the way of counting the results for this patch.
      
              * interpreter/CallFrame.h:
              (JSC::ExecState::arrayConstructorTable):
              (JSC::ExecState::arrayPrototypeTable):
              (JSC::ExecState::booleanPrototypeTable):
              (JSC::ExecState::dateConstructorTable):
              (JSC::ExecState::errorPrototypeTable):
              (JSC::ExecState::globalObjectTable):
              (JSC::ExecState::numberConstructorTable):
              (JSC::ExecState::numberPrototypeTable):
              (JSC::ExecState::objectPrototypeTable):
              (JSC::ExecState::regExpPrototypeTable):
              (JSC::ExecState::stringConstructorTable): Added new tables.
      
              * runtime/ArrayConstructor.cpp:
              (JSC::ArrayConstructor::ArrayConstructor):
              (JSC::ArrayConstructor::getOwnPropertySlot):
              (JSC::ArrayConstructor::getOwnPropertyDescriptor):
              * runtime/ArrayConstructor.h:
              (JSC::ArrayConstructor::createStructure):
              * runtime/ArrayPrototype.cpp:
              (JSC::ArrayPrototype::getOwnPropertySlot):
              (JSC::ArrayPrototype::getOwnPropertyDescriptor):
              * runtime/ArrayPrototype.h:
              * runtime/BooleanPrototype.cpp:
              (JSC::BooleanPrototype::BooleanPrototype):
              (JSC::BooleanPrototype::getOwnPropertySlot):
              (JSC::BooleanPrototype::getOwnPropertyDescriptor):
              * runtime/BooleanPrototype.h:
              (JSC::BooleanPrototype::createStructure):
              * runtime/DateConstructor.cpp:
              (JSC::DateConstructor::DateConstructor):
              (JSC::DateConstructor::getOwnPropertySlot):
              (JSC::DateConstructor::getOwnPropertyDescriptor):
              * runtime/DateConstructor.h:
              (JSC::DateConstructor::createStructure):
              * runtime/ErrorPrototype.cpp:
              (JSC::ErrorPrototype::ErrorPrototype):
              (JSC::ErrorPrototype::getOwnPropertySlot):
              (JSC::ErrorPrototype::getOwnPropertyDescriptor):
              * runtime/ErrorPrototype.h:
              (JSC::ErrorPrototype::createStructure): Standardized these objects
              to use static tables for function properties.
      
              * runtime/JSGlobalData.cpp:
              (JSC::JSGlobalData::JSGlobalData):
              (JSC::JSGlobalData::~JSGlobalData):
              * runtime/JSGlobalData.h: Added new tables.
      
              * runtime/JSGlobalObject.cpp:
              (JSC::JSGlobalObject::reset):
              (JSC::JSGlobalObject::addStaticGlobals):
              (JSC::JSGlobalObject::getOwnPropertySlot):
              (JSC::JSGlobalObject::getOwnPropertyDescriptor):
              * runtime/JSGlobalObject.h:
              * runtime/JSGlobalObjectFunctions.cpp:
              * runtime/JSGlobalObjectFunctions.h: Changed JSGlobalObject to use a
              static table for its global functions. This required uninlining some
              things to avoid a circular header dependency. However, those things
              probably shouldn't have been inlined in the first place.
              
              Even more global object properties can be made lazy, but that requires
              more in-depth changes.
      
              * runtime/MathObject.cpp:
              * runtime/NumberConstructor.cpp:
              (JSC::NumberConstructor::getOwnPropertySlot):
              (JSC::NumberConstructor::getOwnPropertyDescriptor):
              * runtime/NumberPrototype.cpp:
              (JSC::NumberPrototype::NumberPrototype):
              (JSC::NumberPrototype::getOwnPropertySlot):
              (JSC::NumberPrototype::getOwnPropertyDescriptor):
              * runtime/NumberPrototype.h:
              (JSC::NumberPrototype::createStructure):
              * runtime/ObjectPrototype.cpp:
              (JSC::ObjectPrototype::ObjectPrototype):
              (JSC::ObjectPrototype::put):
              (JSC::ObjectPrototype::getOwnPropertySlot):
              (JSC::ObjectPrototype::getOwnPropertyDescriptor):
              * runtime/ObjectPrototype.h:
              (JSC::ObjectPrototype::createStructure):
              * runtime/RegExpPrototype.cpp:
              (JSC::RegExpPrototype::RegExpPrototype):
              (JSC::RegExpPrototype::getOwnPropertySlot):
              (JSC::RegExpPrototype::getOwnPropertyDescriptor):
              * runtime/RegExpPrototype.h:
              (JSC::RegExpPrototype::createStructure):
              * runtime/StringConstructor.cpp:
              (JSC::StringConstructor::StringConstructor):
              (JSC::StringConstructor::getOwnPropertySlot):
              (JSC::StringConstructor::getOwnPropertyDescriptor):
              * runtime/StringConstructor.h:
              (JSC::StringConstructor::createStructure): Standardized these objects
              to use static tables for function properties.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86653 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      836c5d91
    • jamesr@google.com's avatar
      2011-05-16 James Robinson <jamesr@chromium.org> · 0c65ed66
      jamesr@google.com authored
              Reviewed by Kenneth Russell.
      
              [chromium] Decouple LayerChromium/CCLayerImpl trees
              https://bugs.webkit.org/show_bug.cgi?id=58830
      
              Makes the CCLayerImpl tree self-hosting and provides an explicit step
              to synchronize the LayerChromium tree to the CCLayerImpl tree.
              Tested by compositing/ layout tests and by unit tests in WebKit/chromium.
      
              * WebCore.gypi:
              * platform/graphics/chromium/CanvasLayerChromium.cpp:
              (WebCore::CanvasLayerChromium::createCCLayerImpl):
              * platform/graphics/chromium/LayerChromium.cpp:
              (WebCore::LayerChromium::LayerChromium):
              (WebCore::LayerChromium::~LayerChromium):
              (WebCore::LayerChromium::cleanupResources):
              (WebCore::LayerChromium::dumpLayer):
              (WebCore::LayerChromium::dumpLayerProperties):
              (WebCore::LayerChromium::createCCLayerImpl):
              (WebCore::LayerChromium::ccLayerImpl):
              * platform/graphics/chromium/LayerChromium.h:
              (WebCore::LayerChromium::id):
              (WebCore::LayerChromium::setCCLayerImpl):
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::updateAndDrawLayers):
              (WebCore::LayerRendererChromium::updateLayers):
              (WebCore::LayerRendererChromium::updatePropertiesAndRenderSurfaces):
              (WebCore::LayerRendererChromium::updateCompositorResourcesRecursive):
              * platform/graphics/chromium/LayerRendererChromium.h:
              * platform/graphics/chromium/PluginLayerChromium.cpp:
              (WebCore::PluginLayerChromium::createCCLayerImpl):
              * platform/graphics/chromium/TreeSynchronizer.cpp: Added.
              (WebCore::TreeSynchronizer::addCCLayerImplsToMapRecursive):
              (WebCore::TreeSynchronizer::synchronizeTreeRecursive):
              (WebCore::TreeSynchronizer::synchronizeTrees):
              * platform/graphics/chromium/TreeSynchronizer.h:
              * platform/graphics/chromium/VideoLayerChromium.cpp:
              (WebCore::VideoLayerChromium::createCCLayerImpl):
              * platform/graphics/chromium/cc/CCCanvasLayerImpl.cpp:
              (WebCore::CCCanvasLayerImpl::CCCanvasLayerImpl):
              * platform/graphics/chromium/cc/CCCanvasLayerImpl.h:
              (WebCore::CCCanvasLayerImpl::create):
              * platform/graphics/chromium/cc/CCLayerImpl.cpp:
              (WebCore::CCLayerImpl::CCLayerImpl):
              (WebCore::CCLayerImpl::addChild):
              (WebCore::CCLayerImpl::removeFromParent):
              (WebCore::CCLayerImpl::removeAllChildren):
              (WebCore::CCLayerImpl::clearChildList):
              (WebCore::CCLayerImpl::descendantsDrawsContent):
              (WebCore::CCLayerImpl::drawsContent):
              (WebCore::CCLayerImpl::updateCompositorResources):
              * platform/graphics/chromium/cc/CCLayerImpl.h:
              (WebCore::CCLayerImpl::create):
              (WebCore::CCLayerImpl::parent):
              (WebCore::CCLayerImpl::children):
              (WebCore::CCLayerImpl::setMaskLayer):
              (WebCore::CCLayerImpl::maskLayer):
              (WebCore::CCLayerImpl::setReplicaLayer):
              (WebCore::CCLayerImpl::replicaLayer):
              (WebCore::CCLayerImpl::id):
              (WebCore::CCLayerImpl::owner):
              (WebCore::CCLayerImpl::setParent):
              * platform/graphics/chromium/cc/CCPluginLayerImpl.cpp:
              (WebCore::CCPluginLayerImpl::CCPluginLayerImpl):
              * platform/graphics/chromium/cc/CCPluginLayerImpl.h:
              (WebCore::CCPluginLayerImpl::create):
              * platform/graphics/chromium/cc/CCVideoLayerImpl.cpp:
              (WebCore::CCVideoLayerImpl::CCVideoLayerImpl):
              * platform/graphics/chromium/cc/CCVideoLayerImpl.h:
              (WebCore::CCVideoLayerImpl::create):
      2011-05-16  James Robinson  <jamesr@chromium.org>
      
              Reviewed by Kenneth Russell.
              https://bugs.webkit.org/show_bug.cgi?id=58830
      
              Add unit tests for the compositor's TreeSynchronizer.
      
              * WebKit.gypi:
              * tests/TreeSynchronizerTest.cpp: Added.
              (WebCore::MockCCLayerImpl::create):
              (WebCore::MockCCLayerImpl::~MockCCLayerImpl):
              (WebCore::MockCCLayerImpl::setCCLayerDestructionList):
              (WebCore::MockCCLayerImpl::MockCCLayerImpl):
              (WebCore::MockLayerChromium::create):
              (WebCore::MockLayerChromium::~MockLayerChromium):
              (WebCore::MockLayerChromium::createCCLayerImpl):
              (WebCore::MockLayerChromium::pushPropertiesTo):
              (WebCore::MockLayerChromium::MockLayerChromium):
              (WebCore::expectTreesAreIdentical):
              (WebCore::TEST):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86652 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0c65ed66
    • commit-queue@webkit.org's avatar
      2011-05-16 Sheriff Bot <webkit.review.bot@gmail.com> · 251b1c6c
      commit-queue@webkit.org authored
              Unreviewed, rolling out r86648.
              http://trac.webkit.org/changeset/86648
              https://bugs.webkit.org/show_bug.cgi?id=60941
      
              media/controls-css-overload.html still failing on non-GPU
              tests (Requested by scherkus on #webkit).
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86651 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      251b1c6c
    • commit-queue@webkit.org's avatar
      2011-05-16 Naoki Takano <takano.naoki@gmail.com> · 82556b9a
      commit-queue@webkit.org authored
              Reviewed by Kent Tamura.
      
              HTML5 Number Spinbox displays a 0 in situations where a 0 is not between the min and max.
              https://bugs.webkit.org/show_bug.cgi?id=60871
      
              * fast/forms/input-stepup-stepdown-from-renderer-expected.txt: Added expected results.
              * fast/forms/script-tests/input-stepup-stepdown-from-renderer.js: Added test patterns when initial values are empty.
      2011-05-16  Naoki Takano  <takano.naoki@gmail.com>
      
              Reviewed by Kent Tamura.
      
              HTML5 Number Spinbox displays a 0 in situations where a 0 is not between the min and max.
              https://bugs.webkit.org/show_bug.cgi?id=60871
      
              Test: fast/forms/input-stepup-stepdown-from-renderer.html
      
              In number input type, if the value is not a number, including empty, the currect valued is assumed 0.
              But we have to handle it separately from the case when the value is actuall "0".
      
              * html/HTMLInputElement.cpp:
              (WebCore::HTMLInputElement::stepUpFromRenderer): Added cliping for default value.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86650 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      82556b9a
    • abarth@webkit.org's avatar
      2011-05-16 Adam Barth <abarth@webkit.org> · bc346f28
      abarth@webkit.org authored
              Reviewed by Eric Seidel.
      
              Remove bogus ASSERT in Document::setCompatibilityMode
              https://bugs.webkit.org/show_bug.cgi?id=60935
      
              This test case triggers the ASSERT.
      
              * fast/parser/append-child-followed-by-document-write-expected.txt: Added.
              * fast/parser/append-child-followed-by-document-write.html: Added.
      2011-05-16  Adam Barth  <abarth@webkit.org>
      
              Reviewed by Eric Seidel.
      
              Remove bogus ASSERT in Document::setCompatibilityMode
              https://bugs.webkit.org/show_bug.cgi?id=60935
      
              The ASSERT is invalid when the parser is in the initial state and the
              document is non-empty, which is strange but not impossible.
      
              Test: fast/parser/append-child-followed-by-document-write.html
      
              * dom/Document.cpp:
              (WebCore::Document::setCompatibilityMode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86649 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      bc346f28
    • scherkus@chromium.org's avatar
      2011-05-16 Andrew Scherkus <scherkus@chromium.org> · 01dac4f7
      scherkus@chromium.org authored
              Unreviewed, updating expectation for media/controls-css-overload.html.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86648 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      01dac4f7
    • morrita@google.com's avatar
      2011-05-16 MORITA Hajime <morrita@google.com> · e7fe9b74
      morrita@google.com authored
              Reviewed by Tony Chang.
      
              [Refactoring] Member variables of DocumentMarker should be encapsulated.
              https://bugs.webkit.org/show_bug.cgi?id=56814
      
              - Moved DocumentMarker's member variables to private and added getters for them.
              - Added DocumentMarker setters and constructors, which contain assertions against m_type values
                because description and activeMatch are used with specific type of MarkerType.
              - Moved chromium's WebKit::WebFrameImpl::addMarker() to DocumentMarkerController because
                it accesses DocumentMarker internals.
              - Moved a version of DMC::addMarker() to private and add alternatives that hide
                internals of DocumentMarker. (The internal will be renewed by upcoming change.)
      
              * dom/DocumentMarker.h:
              (WebCore::DocumentMarker::type):
              (WebCore::DocumentMarker::startOffset):
              (WebCore::DocumentMarker::endOffset):
              (WebCore::DocumentMarker::description):
              (WebCore::DocumentMarker::hasDescription):
              (WebCore::DocumentMarker::activeMatch):
              (WebCore::DocumentMarker::clearDescription):
              (WebCore::DocumentMarker::setStartOffset):
              (WebCore::DocumentMarker::setEndOffset):
              (WebCore::DocumentMarker::operator==):
              (WebCore::DocumentMarker::DocumentMarker):
              (WebCore::DocumentMarker::shiftOffsets):
              (WebCore::DocumentMarker::setActiveMatch):
              * dom/DocumentMarkerController.cpp:
              (WebCore::DocumentMarkerController::addMarker):
              (WebCore::DocumentMarkerController::addTextMatchMarker):
              (WebCore::DocumentMarkerController::copyMarkers):
              (WebCore::DocumentMarkerController::removeMarkers):
              (WebCore::DocumentMarkerController::markerContainingPoint):
              (WebCore::DocumentMarkerController::markersInRange):
              (WebCore::DocumentMarkerController::renderedRectsForMarkers):
              (WebCore::DocumentMarkerController::removeMarkersFromList):
              (WebCore::DocumentMarkerController::repaintMarkers):
              (WebCore::DocumentMarkerController::shiftMarkers):
              (WebCore::DocumentMarkerController::setMarkersActive):
              (WebCore::DocumentMarkerController::hasMarkers):
              (WebCore::DocumentMarkerController::clearDescriptionOnMarkersIntersectingRange):
              (WebCore::DocumentMarkerController::showMarkers):
              * dom/DocumentMarkerController.h:
              * editing/CompositeEditCommand.cpp:
              (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers):
              * editing/DeleteSelectionCommand.cpp:
              (WebCore::DeleteSelectionCommand::originalStringForAutocorrectionAtBeginningOfSelection):
              * editing/Editor.cpp:
              (WebCore::Editor::selectionStartHasMarkerFor):
              * editing/SpellingCorrectionController.cpp:
              (WebCore::SpellingCorrectionController::respondToChangedSelection):
              * editing/SpellingCorrectionController.h:
              (WebCore::SpellingCorrectionController::shouldStartTimerFor):
              * rendering/HitTestResult.cpp:
              (WebCore::HitTestResult::spellingToolTip):
              (WebCore::HitTestResult::replacedString):
              * rendering/InlineTextBox.cpp:
              (WebCore::InlineTextBox::paintSpellingOrGrammarMarker):
              (WebCore::InlineTextBox::paintTextMatchMarker):
              (WebCore::InlineTextBox::computeRectForReplacementMarker):
              (WebCore::InlineTextBox::paintDocumentMarkers):
              * rendering/svg/SVGInlineFlowBox.cpp:
              (WebCore::SVGInlineFlowBox::computeTextMatchMarkerRectForRenderer):
      2011-05-16  MORITA Hajime  <morrita@google.com>
      
              Reviewed by Tony Chang.
      
              [Refactoring] Member variables of DocumentMarker should be encapsulated.
              https://bugs.webkit.org/show_bug.cgi?id=56814
      
              Moved addMarker() implementation to
              WebCore::DocumentMarkerController::addTextMatchMarker().
      
              * src/WebFrameImpl.cpp:
              (WebKit::WebFrameImpl::addMarker):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86647 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7fe9b74
    • mrobinson@webkit.org's avatar
      2011-05-16 Martin Robinson <mrobinson@igalia.com> · 84e1d39e
      mrobinson@webkit.org authored
              Fix the Cairo build for older versions of GTK+.
      
              * platform/gtk/GtkWidgetBackingStoreX11.cpp: Include GtkVersioning.h to
              satisfy older versions of GTK+ 2.x.
      2011-05-16  Martin Robinson  <mrobinson@igalia.com>
      
              Take another shot at fixing the WinCairo build.
      
              * Shared/cairo/LayerTreeContextCairo.cpp: Include NotImplemented.h using a framework include.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86646 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      84e1d39e
    • weinig@apple.com's avatar
      2011-05-16 Sam Weinig <sam@webkit.org> · 269f6c9e
      weinig@apple.com authored
              Reviewed by Jon Honeycutt.
      
              Add access to process pid in WebKit2 API
              https://bugs.webkit.org/show_bug.cgi?id=60938
      
              * UIProcess/API/C/mac/WKPagePrivateMac.cpp: Added.
              (WKPageGetProcessIdentifier):
              * UIProcess/API/C/mac/WKPagePrivateMac.h: Added.
              * UIProcess/WebPageProxy.cpp:
              (WebKit::WebPageProxy::processIdentifier):
              * UIProcess/WebPageProxy.h:
              * WebKit2.xcodeproj/project.pbxproj:
              Add WKPageGetProcessIdentifier as SPI for the mac.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      269f6c9e
    • commit-queue@webkit.org's avatar
      2011-05-16 Ian Henderson <ianh@apple.com> · ef45a5d2
      commit-queue@webkit.org authored
              Reviewed by Joseph Pecoraro.
      
              Page::goToItem doesn't work while loading is deferred
              https://bugs.webkit.org/show_bug.cgi?id=60412
      
              * loader/navigation-while-deferring-loads-expected.txt: Added.
              * loader/navigation-while-deferring-loads.html: Added.
              * platform/gtk/Skipped:
              * platform/qt/Skipped:
              * platform/win/Skipped:
      2011-05-16  Ian Henderson  <ianh@apple.com>
      
              Reviewed by Joseph Pecoraro.
      
              Page::goToItem doesn't work while loading is deferred
              https://bugs.webkit.org/show_bug.cgi?id=60412
      
              If goToItem is called while loading is deferred, save the arguments
              and try again later instead of doing nothing.
      
              Test: loader/navigation-while-deferring-loads.html
      
              * loader/FrameLoader.cpp:
              (WebCore::FrameLoader::setDefersLoading):
              Pipe the "defersLoading" state into HistoryController.
              * loader/HistoryController.cpp:
              (WebCore::HistoryController::HistoryController):
              (WebCore::HistoryController::goToItem):
              Save the HistoryItem and FrameLoadType if loading is deferred.
              (WebCore::HistoryController::setDefersLoading):
              If we have a saved HistoryItem after resuming, try going to it.
              * loader/HistoryController.h:
              * page/Page.cpp:
              (WebCore::Page::goToItem):
              No longer bail early if loading is deferred, since HistoryController
              now handles this case.
      2011-05-16  Ian Henderson  <ianh@apple.com>
      
              Reviewed by Joseph Pecoraro.
      
              Page::goToItem doesn't work while loading is deferred
              https://bugs.webkit.org/show_bug.cgi?id=60412
      
              Add setDefersLoading and goBack methods to LayoutTestController.  We
              need to use goBack() instead of history.back() because the latter goes
              through NavigationScheduler, hence doesn't exhibit the bug.
      
              * DumpRenderTree/LayoutTestController.cpp:
              (goBackCallback):
              (setDefersLoadingCallback):
              (LayoutTestController::staticFunctions):
              * DumpRenderTree/LayoutTestController.h:
              * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
              * DumpRenderTree/mac/LayoutTestControllerMac.mm:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
              * DumpRenderTree/win/LayoutTestControllerWin.cpp:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
              * DumpRenderTree/wx/LayoutTestControllerWx.cpp:
              (LayoutTestController::goBack):
              (LayoutTestController::setDefersLoading):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef45a5d2
    • scherkus@chromium.org's avatar
      2011-05-16 Andrew Scherkus <scherkus@chromium.org> · eddb4743
      scherkus@chromium.org authored
              Unreviewed, checking in new baselines for media/video-canvas-alpha.html for chromium-gpu-{linux,win}.
      
              * platform/chromium-gpu-linux/media/video-canvas-alpha-expected.png:
              * platform/chromium-gpu-win/media/video-canvas-alpha-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86643 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eddb4743
    • mrobinson@webkit.org's avatar
      2011-05-16 Martin Robinson <mrobinson@igalia.com> · 5fe291da
      mrobinson@webkit.org authored
              Add file missing from my previous commit.
      
              * Shared/cairo/LayerTreeContextCairo.cpp: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86642 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5fe291da
    • scherkus@chromium.org's avatar
      2011-05-16 Andrew Scherkus <scherkus@chromium.org> · b9d21d7c
      scherkus@chromium.org authored
              Unreviewed, un-skipping a few Chromium layout test expectations.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86641 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b9d21d7c
    • atwilson@chromium.org's avatar
      2011-05-16 Andrew Wilson <atwilson@chromium.org> · 497b8a49
      atwilson@chromium.org authored
              Unreviewed, rolling out r86625.
              http://trac.webkit.org/changeset/86625
              https://bugs.webkit.org/show_bug.cgi?id=60719
      
              Caused failed assertion on Chromium gpu canary bots
      
              * WebCore.gypi:
              * platform/chromium/TraceEvent.h:
              * platform/graphics/chromium/ContentLayerChromium.cpp:
              (WebCore::ContentLayerChromium::create):
              (WebCore::ContentLayerChromium::ContentLayerChromium):
              (WebCore::ContentLayerChromium::~ContentLayerChromium):
              (WebCore::ContentLayerChromium::paintContentsIfDirty):
              (WebCore::ContentLayerChromium::setLayerRenderer):
              (WebCore::ContentLayerChromium::createTilerIfNeeded):
              (WebCore::ContentLayerChromium::updateCompositorResources):
              * platform/graphics/chromium/ContentLayerChromium.h:
              (WebCore::ContentLayerChromium::drawsContent):
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              (WebCore::ImageLayerChromium::paintContentsIfDirty):
              (WebCore::ImageLayerChromium::updateCompositorResources):
              * platform/graphics/chromium/ImageLayerChromium.h:
              * platform/graphics/chromium/LayerPainterChromium.h: Removed.
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::create):
              (WebCore::LayerRendererChromium::LayerRendererChromium):
              (WebCore::LayerRendererChromium::updateRootLayerContents):
              (WebCore::LayerRendererChromium::drawRootLayer):
              (WebCore::LayerRendererChromium::updateAndDrawLayers):
              (WebCore::LayerRendererChromium::updateLayers):
              * platform/graphics/chromium/LayerRendererChromium.h:
              * platform/graphics/chromium/LayerTextureSubImage.cpp: Removed.
              * platform/graphics/chromium/LayerTextureSubImage.h: Removed.
              * platform/graphics/chromium/LayerTextureUpdater.h: Removed.
              * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: Removed.
              * platform/graphics/chromium/LayerTextureUpdaterCanvas.h: Removed.
              * platform/graphics/chromium/LayerTilerChromium.cpp:
              (WebCore::LayerTilerChromium::create):
              (WebCore::LayerTilerChromium::LayerTilerChromium):
              (WebCore::LayerTilerChromium::setLayerRenderer):
              (WebCore::LayerTilerChromium::setTileSize):
              (WebCore::LayerTilerChromium::update):
              (WebCore::LayerTilerChromium::uploadCanvas):
              (WebCore::LayerTilerChromium::updateFromPixels):
              (WebCore::LayerTilerChromium::draw):
              * platform/graphics/chromium/LayerTilerChromium.h:
              (WebCore::LayerTilerChromium::Tile::Tile):
              * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
              (WebCore::CCHeadsUpDisplay::draw):
      2011-05-16  Andrew Wilson  <atwilson@chromium.org>
      
              Unreviewed, rolling out r86625.
              http://trac.webkit.org/changeset/86625
              https://bugs.webkit.org/show_bug.cgi?id=60719
      
              Caused failed assertion on Chromium gpu canary bots
      
              * src/WebViewImpl.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86640 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      497b8a49
    • mitz@apple.com's avatar
      No need to compile .js files, that is what the JIT is for. · dcbcea1e
      mitz@apple.com authored
      * WebKit.xcodeproj/project.pbxproj:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86639 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dcbcea1e
    • scherkus@chromium.org's avatar
      2011-05-16 Andrew Scherkus <scherkus@chromium.org> · c022ef6d
      scherkus@chromium.org authored
              Unreviewed, marking media/video-transformed.html as passing on all platforms.
      
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86638 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c022ef6d
    • abarth@webkit.org's avatar
      2011-05-16 Adam Barth <abarth@webkit.org> · 8c86cf29
      abarth@webkit.org authored
              Attempt to fix baselines for xss-DENIED-set-opener.html.  This is too hard.
      
              * platform/chromium-linux/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
              * platform/chromium-win-vista/http/tests/security/aboutBlank/xss-DENIED-set-opener-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86637 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8c86cf29
    • abarth@webkit.org's avatar
      2011-05-16 Adam Barth <abarth@webkit.org> · e83b905f
      abarth@webkit.org authored
              Attempt to fix baselines for set-href-attribute-hash.html.  This is too hard.
      
              * platform/chromium-linux/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
              * platform/chromium-win-vista/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86636 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e83b905f
    • antti@apple.com's avatar
      https://bugs.webkit.org/show_bug.cgi?id=60927 · c964e444
      antti@apple.com authored
      fastCheckSelector() does not inline correctly in all cases
      
      Reviewed by Dave Kilzer.
      
      Use anonymous namespace instead of static qualifier to get internal linkage.
      Use functions as template arguments instead of classes.
      
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::SelectorChecker::fastCheckSelector):
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86635 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c964e444
    • mrobinson@webkit.org's avatar
      2011-05-16 Martin Robinson <martin.james.robinson@gmail.com> · d2fafcbc
      mrobinson@webkit.org authored
              Try to fix the WinCairo build after r86612.
      
              Move the LayerTreeContextGtk.cpp stub to LayerTreeContextCairo.cpp and add
              it to the WinCairo build.
      
              * GNUmakefile.am: Update the source list.
              * Shared/cairo/LayerTreeContextCairo.cpp: Renamed from Source/WebKit2/Shared/gtk/LayerTreeContextGtk.cpp.
              * win/WebKit2.vcproj: Update the source list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86634 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2fafcbc
    • crogers@google.com's avatar
      2011-05-16 Chris Rogers <crogers@google.com> · 27ba443b
      crogers@google.com authored
              Unreviewed build fix.
      
              Just return "nullptr" to fix compile errors
              https://bugs.webkit.org/show_bug.cgi?id=60932
      
              * platform/audio/mac/AudioBusMac.mm:
              (WebCore::AudioBus::loadPlatformResource):
              * platform/audio/mac/AudioFileReaderMac.cpp:
              (WebCore::AudioFileReader::createBus):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86633 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      27ba443b
    • eae@chromium.org's avatar
      2011-05-16 Emil A Eklund <eae@chromium.org> · 58f80ec1
      eae@chromium.org authored
              Reviewed by Eric Seidel.
      
              Replace docTop/Right/Bottom/Left/Width/Height with documentRect
              https://bugs.webkit.org/show_bug.cgi?id=60743
      
              Change RenderView::documentRect to compute rect once rather than four times.
              Replace all uses of docTop/Right/Bottom/Left/Width/Height with documentRect to
              simplify the code and reduce complexity.
      
              Covered by existing tests.
      
              * WebCore.exp.in:
              * page/FrameView.cpp:
              (WebCore::FrameView::adjustViewSize):
              (WebCore::FrameView::forceLayoutForPagination):
              * page/PrintContext.cpp:
              (WebCore::PrintContext::computePageRects):
              * rendering/RenderBox.cpp:
              (WebCore::RenderBox::paintRootBoxFillLayers):
              * rendering/RenderLayerCompositor.cpp:
              (WebCore::RenderLayerCompositor::updateRootLayerPosition):
              * rendering/RenderView.cpp:
              (WebCore::RenderView::documentRect):
              * rendering/RenderView.h:
      2011-05-16  Emil A Eklund  <eae@chromium.org>
      
              Reviewed by Eric Seidel.
      
              Replace docTop/Right/Bottom/Left/Width/Height with documentRect
              https://bugs.webkit.org/show_bug.cgi?id=60743
      
              Replace uses of docWidth/Height with documentRect.
      
              * WebView/WebFrame.mm:
              (-[WebFrame _computePageRectsWithPrintScaleFactor:pageSize:]):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86632 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58f80ec1
    • tony@chromium.org's avatar
      2011-05-16 Tony Chang <tony@chromium.org> · 56b7e195
      tony@chromium.org authored
              Reviewed by Adam Barth.
      
              [chromium] shard V8DerivedSources into 19 files
              https://bugs.webkit.org/show_bug.cgi?id=60926
      
              This reduces the clobber build time by 4s on my machine.  It helps
              by making the slowest to compile V8DerivedSources faster (and thus
              more parallelizable).  With 8 files, the 3 slowest are 23s, 18s and
              10s.  With 19 files, the 3 slowest are 16s, 10s, and 10s.
      
              * WebCore.gyp/WebCore.gyp:
              * storage/IDBObjectStore.h: Fix a missing include that was working
                because a different .cpp file before it was including the header.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86631 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      56b7e195
    • crogers@google.com's avatar
      2011-05-16 Chris Rogers <crogers@google.com> · e7afe79b
      crogers@google.com authored
              Unreviewed build fix.
      
              Fix web audio enabled mac port compile errors
              https://bugs.webkit.org/show_bug.cgi?id=60930
      
              * platform/audio/mac/AudioBusMac.mm:
              (WebCore::AudioBus::loadPlatformResource):
              * platform/audio/mac/AudioFileReaderMac.cpp:
              (WebCore::AudioFileReader::createBus):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86630 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e7afe79b
    • atwilson@chromium.org's avatar
      Unreviewed chromium expectations changes to disable crashing tests. · 66de6bcb
      atwilson@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=60931
      
      * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86629 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      66de6bcb
    • eric@webkit.org's avatar
      2011-05-16 Eric Seidel <eric@webkit.org> · e2532d97
      eric@webkit.org authored
              Reviewed by Adam Barth.
      
              Document why RenderBlockLineLayout has its own deleteLineBoxTree implementation
              https://bugs.webkit.org/show_bug.cgi?id=60925
      
              I suspect this difference is really just papering over other bugs
              but now that I finally understand the difference, I should at least
              document it for others.
      
              * rendering/RenderBlockLineLayout.cpp:
              (WebCore::deleteLineRange):
              (WebCore::RenderBlock::determineStartPosition):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86628 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2532d97
    • commit-queue@webkit.org's avatar
      2011-05-16 Martin Robinson <mrobinson@igalia.com> · dc1584dc
      commit-queue@webkit.org authored
              Reviewed by Xan Lopez.
      
              [GTK] Scrolling in Twitter is broken after r86102
              https://bugs.webkit.org/show_bug.cgi?id=60922
      
              Fix adjustment handling for pages that trigger the slow scrolling path.
              The slow scrolling path is triggered by WebCore when it determines that
              doing a simple invalidation is quicker than doing a normal scroll. This
              typically happens when there are large elements with fixed positions.
      
              * WebCoreSupport/ChromeClientGtk.cpp:
              (WebKit::ChromeClient::invalidateContentsForSlowScroll): Poke the adjustment
              watcher to update its adjustments when a page triggers the slow scrolling path.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86627 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc1584dc
    • scherkus@chromium.org's avatar
      2011-05-16 Andrew Scherkus <scherkus@chromium.org> · acf91187
      scherkus@chromium.org authored
              Unreviewed, rebaselining media/video-aspect-ratio.html for chromium-gpu-{linux,mac,win}.
      
              * platform/chromium-gpu-linux/media/video-aspect-ratio-expected.png: Added.
              * platform/chromium-gpu-mac/media/video-aspect-ratio-expected.png: Added.
              * platform/chromium-gpu-win/media/video-aspect-ratio-expected.png: Added.
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86626 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      acf91187
    • alokp@chromium.org's avatar
      2011-05-16 Alok Priyadarshi <alokp@chromium.org> · a25501f1
      alokp@chromium.org authored
              Reviewed by James Robinson.
      
              [chromium] Split canvas from LayerTilerChromium
              https://bugs.webkit.org/show_bug.cgi?id=60719
      
              LayerTilerChromium now just does tiling. It delegates the task of painting and updating textures to LayerTextureUpdater.
              Also abstracted LayerTextureSubImage to upload texture pixels.
      
              * WebCore.gypi:
              * platform/chromium/TraceEvent.h:
              * platform/graphics/chromium/ContentLayerChromium.cpp:
              (WebCore::ContentLayerChromium::create):
              (WebCore::ContentLayerChromium::ContentLayerChromium):
              (WebCore::ContentLayerChromium::~ContentLayerChromium):
              (WebCore::ContentLayerChromium::paintContentsIfDirty):
              (WebCore::ContentLayerChromium::cleanupResources):
              (WebCore::ContentLayerChromium::setLayerRenderer):
              (WebCore::ContentLayerChromium::createTextureUpdater):
              (WebCore::ContentLayerChromium::drawsContent):
              (WebCore::ContentLayerChromium::createTilerIfNeeded):
              (WebCore::ContentLayerChromium::updateCompositorResources):
              * platform/graphics/chromium/ContentLayerChromium.h:
              * platform/graphics/chromium/ImageLayerChromium.cpp:
              (WebCore::ImageLayerTextureUpdater::ImageLayerTextureUpdater):
              (WebCore::ImageLayerTextureUpdater::~ImageLayerTextureUpdater):
              (WebCore::ImageLayerTextureUpdater::orientation):
              (WebCore::ImageLayerTextureUpdater::prepareToUpdate):
              (WebCore::ImageLayerTextureUpdater::updateTextureRect):
              (WebCore::ImageLayerTextureUpdater::imageRect):
              (WebCore::ImageLayerChromium::paintContentsIfDirty):
              (WebCore::ImageLayerChromium::updateCompositorResources):
              (WebCore::ImageLayerChromium::createTextureUpdater):
              * platform/graphics/chromium/ImageLayerChromium.h:
              * platform/graphics/chromium/LayerPainterChromium.h: Added.
              * platform/graphics/chromium/LayerRendererChromium.cpp:
              (WebCore::LayerRendererChromium::create):
              (WebCore::LayerRendererChromium::LayerRendererChromium):
              (WebCore::LayerRendererChromium::updateRootLayerContents):
              (WebCore::LayerRendererChromium::drawRootLayer):
              (WebCore::LayerRendererChromium::updateAndDrawLayers):
              (WebCore::LayerRendererChromium::updateLayers):
              * platform/graphics/chromium/LayerRendererChromium.h:
              * platform/graphics/chromium/LayerTextureSubImage.cpp: Added.
              (WebCore::LayerTextureSubImage::LayerTextureSubImage):
              (WebCore::LayerTextureSubImage::~LayerTextureSubImage):
              (WebCore::LayerTextureSubImage::setSubImageSize):
              (WebCore::LayerTextureSubImage::upload):
              (WebCore::LayerTextureSubImage::uploadWithTexSubImage):
              (WebCore::LayerTextureSubImage::uploadWithMapTexSubImage):
              * platform/graphics/chromium/LayerTextureSubImage.h: Added.
              * platform/graphics/chromium/LayerTextureUpdater.h: Added.
              (WebCore::LayerTextureUpdater::LayerTextureUpdater):
              (WebCore::LayerTextureUpdater::~LayerTextureUpdater):
              (WebCore::LayerTextureUpdater::context):
              * platform/graphics/chromium/LayerTextureUpdaterCanvas.cpp: Added.
              (WebCore::LayerTextureUpdaterCanvas::LayerTextureUpdaterCanvas):
              (WebCore::LayerTextureUpdaterCanvas::paintContents):
              (WebCore::LayerTextureUpdaterBitmap::LayerTextureUpdaterBitmap):
              (WebCore::LayerTextureUpdaterBitmap::prepareToUpdate):
              (WebCore::LayerTextureUpdaterBitmap::updateTextureRect):
              * platform/graphics/chromium/LayerTextureUpdaterCanvas.h: Added.
              (WebCore::LayerTextureUpdaterCanvas::~LayerTextureUpdaterCanvas):
              (WebCore::LayerTextureUpdaterCanvas::contentRect):
              (WebCore::LayerTextureUpdaterBitmap::~LayerTextureUpdaterBitmap):
              (WebCore::LayerTextureUpdaterBitmap::orientation):
              * platform/graphics/chromium/LayerTilerChromium.cpp:
              (WebCore::LayerTilerChromium::create):
              (WebCore::LayerTilerChromium::LayerTilerChromium):
              (WebCore::LayerTilerChromium::setTileSize):
              (WebCore::LayerTilerChromium::prepareToUpdate):
              (WebCore::LayerTilerChromium::updateRect):
              (WebCore::LayerTilerChromium::draw):
              * platform/graphics/chromium/LayerTilerChromium.h:
              (WebCore::LayerTilerChromium::Tile::Tile):
              * platform/graphics/chromium/cc/CCHeadsUpDisplay.cpp:
              (WebCore::CCHeadsUpDisplay::draw):
      2011-05-16  Alok Priyadarshi  <alokp@chromium.org>
      
              Reviewed by James Robinson.
      
              Split canvas from LayerTilerChromium
              https://bugs.webkit.org/show_bug.cgi?id=60719
      
              * src/WebViewImpl.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86625 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a25501f1
    • weinig@apple.com's avatar
      2011-05-16 Sam Weinig <sam@webkit.org> · e15055d2
      weinig@apple.com authored
              Reviewed by Anders Carlsson.
      
              TestWebKitAPI should build with clang if it can
              https://bugs.webkit.org/show_bug.cgi?id=60918
      
              * TestWebKitAPI/Configurations/CompilerVersion.xcconfig:
              Update CompilerVersion.xcconfig to match others.
      
              * TestWebKitAPI/TestWebKitAPI.xcodeproj/project.pbxproj:
              Add CompilerVersion.xcconfig to the project.
      
              * TestWebKitAPI/Tests/WebKit2/FailedLoad.cpp:
              (TestWebKitAPI::didFailProvisionalLoadWithErrorForFrame):
              * TestWebKitAPI/Tests/WebKit2/PageLoadDidChangeLocationWithinPageForFrame.cpp:
              (TestWebKitAPI::didSameDocumentNavigationForFrame):
              Add some casts to quiet warnings from clang.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86624 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e15055d2
    • atwilson@chromium.org's avatar
      Unreviewed prospective build fix/workaround for chromium ARM compiler error. · e2e6cfa3
      atwilson@chromium.org authored
      * platform/graphics/GraphicsLayer.cpp:
      (WebCore::GraphicsLayer::animationNameForTransition):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86623 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e2e6cfa3
    • abarth@webkit.org's avatar
      2011-05-16 Adam Barth <abarth@webkit.org> · 55fa5810
      abarth@webkit.org authored
              Layout test file-URL-with-port-number.html fails on Mac and Linux
              http://code.google.com/p/chromium/issues/detail?id=10342
      
              The consensus is to not support this behavior unless there is a
              compelling compatibility reason.
      
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86622 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      55fa5810
    • scherkus@chromium.org's avatar
      2011-05-16 Andrew Scherkus <scherkus@chromium.org> · f1814258
      scherkus@chromium.org authored
              Unreviewed, rebaselining media/video-zoom.html for chromium-gpu-{linux,mac}.
      
              * platform/chromium-gpu-linux/media/video-zoom-expected.png:
              * platform/chromium-gpu-mac/media/video-zoom-expected.png:
              * platform/chromium/test_expectations.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f1814258
    • commit-queue@webkit.org's avatar
      2011-05-16 Martin Robinson <mrobinson@igalia.com> · 4620fc7f
      commit-queue@webkit.org authored
              Reviewed by Anders Carlsson.
      
              [GTK] [WebKit2] Provide a fast version of the backing store for X11
              https://bugs.webkit.org/show_bug.cgi?id=60912
      
              No new tests. This will be covered by WebKit2 pixel tests.
      
              * GNUmakefile.list.am: Added new GtkWidgetBackingStore source and header files.
              * platform/gtk/GtkWidgetBackingStore.h: Added.
              * platform/gtk/GtkWidgetBackingStoreCairo.cpp: Added this implementation of the backing
              store that uses Cairo and has the same performance characteristics as the WebKit2 implementaiton.
              * platform/gtk/GtkWidgetBackingStoreX11.cpp: Added this implementation of the backing
              store that uses X11 directly and has better performance than the Cairo version.
      2011-05-16  Martin Robinson  <mrobinson@igalia.com>
      
              Reviewed by Anders Carlsson.
      
              [GTK] [WebKit2] Provide a fast version of the backing store for X11
              https://bugs.webkit.org/show_bug.cgi?id=60912
      
              Instead of allocating the backing store surface directly in WebKit2,
              instantiate the GtkWidgetBackingStore class which abstracts away the
              platform-specific details of maintaining the backing store.
      
              * UIProcess/BackingStore.h:
              * UIProcess/gtk/BackingStoreGtk.cpp:
              (WebKit::BackingStore::paint): Call into GtkWidgetBackingStore to get the Cairo surface now.
              (WebKit::BackingStore::incorporateUpdate): Ditto.
              (WebKit::BackingStore::scroll): Call into GtkWidgetBackingStore to do the actual backing store scroll.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86620 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4620fc7f
    • rniwa@webkit.org's avatar
      2011-05-16 Ryosuke Niwa <rniwa@webkit.org> · 9b8f281f
      rniwa@webkit.org authored
              Reviewed by Enrica Casucci.
      
              editing/pasteboard/5075944-2.html and 5075944-3.html should be renamed and converted to dump-as-markup tests
              https://bugs.webkit.org/show_bug.cgi?id=60923
      
              Renamed pasteboard/5075944-2.html to pasteboard/preserve-underline-color.html and pasteboard/5075944-3.html to
              deleting/deleting-line-break-preserves-underline-color.html. Also converted them to dump-as-markup tests.
      
              * editing/deleting/deleting-line-break-preserves-underline-color-expected.txt: Added.
              * editing/deleting/deleting-line-break-preserves-underline-color.html: Copied from LayoutTests/editing/pasteboard/5075944-3.html.
              * editing/pasteboard/5075944-2.html: Removed.
              * editing/pasteboard/5075944-3.html: Removed.
              * editing/pasteboard/preserve-underline-color-expected.txt: Added.
              * editing/pasteboard/preserve-underline-color.html: Copied from LayoutTests/editing/pasteboard/5075944-2.html.
              * platform/chromium-linux/editing/pasteboard/5075944-2-expected.png: Removed.
              * platform/chromium-linux/editing/pasteboard/5075944-3-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/5075944-2-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/5075944-2-expected.txt: Removed.
              * platform/chromium-win/editing/pasteboard/5075944-3-expected.png: Removed.
              * platform/chromium-win/editing/pasteboard/5075944-3-expected.txt: Removed.
              * platform/gtk/editing/pasteboard/5075944-2-expected.png: Removed.
              * platform/gtk/editing/pasteboard/5075944-2-expected.txt: Removed.
              * platform/gtk/editing/pasteboard/5075944-3-expected.txt: Removed.
              * platform/mac-leopard/editing/pasteboard/5075944-2-expected.png: Removed.
              * platform/mac-leopard/editing/pasteboard/5075944-3-expected.png: Removed.
              * platform/mac/editing/pasteboard/5075944-2-expected.png: Removed.
              * platform/mac/editing/pasteboard/5075944-2-expected.txt: Removed.
              * platform/mac/editing/pasteboard/5075944-3-expected.png: Removed.
              * platform/mac/editing/pasteboard/5075944-3-expected.txt: Removed.
              * platform/qt-arm/Skipped:
              * platform/qt-mac/Skipped:
              * platform/qt/editing/pasteboard/5075944-2-expected.txt: Removed.
              * platform/qt/editing/pasteboard/5075944-3-expected.txt: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86619 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9b8f281f
    • abarth@webkit.org's avatar
      2011-05-16 Adam Barth <abarth@webkit.org> · 455c991b
      abarth@webkit.org authored
              Layout Test fast/dom/HTMLAnchorElement/set-href-attribute-hash.html is failing
              http://code.google.com/p/chromium/issues/detail?id=72428
      
              This test is passing, not failing.
      
              * platform/chromium/fast/dom/HTMLAnchorElement: Added.
              * platform/chromium/fast/dom/HTMLAnchorElement/set-href-attribute-hash-expected.txt: Added.
              * platform/chromium/test_expectations.txt:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@86618 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      455c991b