1. 05 Apr, 2013 40 commits
    • cfleizach@apple.com's avatar
      WebSpeech: event.elapsedTime is always 1364484608 · 16399b98
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114045
      
      Reviewed by Tim Horton.
      
      Source/WebCore:
      
      We were calculating elapsed time incorrectly.
      
      Test: platform/mac/fast/speechsynthesis/speech-synthesis-elapsed-time.html
      
      * Modules/speech/SpeechSynthesis.cpp:
      (WebCore::SpeechSynthesis::fireEvent):
      
      LayoutTests:
      
      * platform/mac/fast/speechsynthesis/speech-synthesis-elapsed-time-expected.txt: Added.
      * platform/mac/fast/speechsynthesis/speech-synthesis-elapsed-time.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147801 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      16399b98
    • cfleizach@apple.com's avatar
      WebSpeech: crash at WebCore::SpeechSynthesis::speak · e73c07ab
      cfleizach@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113937
      
      Reviewed by Tim Horton.
      
      Source/WebCore:
      
      Protect against the case when invalid data is passed in.
      
      Test: platform/mac/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html
      
      * Modules/speech/SpeechSynthesis.cpp:
      (WebCore::SpeechSynthesis::speak):
      * Modules/speech/SpeechSynthesisUtterance.cpp:
      (WebCore::SpeechSynthesisUtterance::setVoice):
      
      LayoutTests:
      
      * platform/mac/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance-expected.txt: Added.
      * platform/mac/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html: Added.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147800 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e73c07ab
    • antti@apple.com's avatar
      Throttle compositing layer flushes during page loading · a6775c18
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113786
      
      Reviewed by Simon Fraser.
              
      Page content can change rapidly during page loading triggering excessive layer flushes and repainting. We should avoid this unnecessary work.
              
      This patch reduces layer flushes (and painting) during loading by 50-70% on many popular pages.
      
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::loadProgressingStatusChanged):        
      * loader/FrameLoader.h:
      * loader/ProgressTracker.cpp:
      (WebCore::ProgressTracker::ProgressTracker):
      (WebCore::ProgressTracker::reset):
      (WebCore::ProgressTracker::progressStarted):
      (WebCore::ProgressTracker::finalProgressComplete):
      (WebCore::ProgressTracker::isLoadProgressing):
      (WebCore::ProgressTracker::progressHeartbeatTimerFired):
      * loader/ProgressTracker.h:
              
          Track if the document load is progressing. This is done with a heartbeat timer that checks every 100ms if we have received more than 1k of data.
          If four heartbeats pass without progress then we consider the load stalled.
      
      * page/FrameView.cpp:
      (WebCore::FrameView::resetDeferredRepaintDelay):
              
          Disable throttling temporary on user interaction so the page stays as responsive as possible even during loading.
      
      (WebCore::FrameView::updateLayerFlushThrottling):
              
          Enable throttling when the load is progressing, disable otherwise.
      
      * page/FrameView.h:
      * platform/graphics/GraphicsLayer.h:
      (WebCore::GraphicsLayer::canThrottleLayerFlush):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::platformCALayerDidCreateTiles):
      (WebCore::GraphicsLayerCA::canThrottleLayerFlush):
              
          Don't throttle if new tiles have been added by the tile controller. They may have stale content and need to be flushed immediately.
      
      (WebCore::GraphicsLayerCA::noteLayerPropertyChanged):
              
          Set the new TilesAdded change flag.
      
      * platform/graphics/ca/GraphicsLayerCA.h:
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::notifyFlushRequired):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::RenderLayerCompositor):
      (WebCore::RenderLayerCompositor::notifyFlushRequired):
      (WebCore::RenderLayerCompositor::scheduleLayerFlushNow):
              
          Factor the actual flush scheduling to private function.
      
      (WebCore::RenderLayerCompositor::scheduleLayerFlush):
              
          Mark the compositor for flush and return without flushing if the flushes are currently being throttled.
      
      (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
              
          After a flush, start the throtting timer (currently 0.5s) coalescing the subsequent flushes.
      
      (WebCore::RenderLayerCompositor::didChangeVisibleRect):
              
          Do immediately flush if needed.
      
      (WebCore::RenderLayerCompositor::setLayerFlushThrottlingEnabled):
              
          Flush immediately if disabled.
      
      (WebCore::RenderLayerCompositor::disableLayerFlushThrottlingTemporarilyForInteraction):
      (WebCore::RenderLayerCompositor::isThrottlingLayerFlushes):
      (WebCore::RenderLayerCompositor::startLayerFlushTimerIfNeeded):
      (WebCore::RenderLayerCompositor::layerFlushTimerFired):
              
          Flush when the timer fires timer.
      
      * rendering/RenderLayerCompositor.h:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147797 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a6775c18
    • benjamin@webkit.org's avatar
      Clean the chromium bits of WebCore's WebDatabase · a4946bc1
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114010
      
      Reviewed by Ryosuke Niwa.
      
      * Modules/webdatabase/AbstractDatabaseServer.h:
      * Modules/webdatabase/ChangeVersionWrapper.cpp:
      (WebCore::ChangeVersionWrapper::performPreflight):
      (WebCore::ChangeVersionWrapper::performPostflight):
      * Modules/webdatabase/Database.cpp:
      * Modules/webdatabase/Database.h:
      (Database):
      * Modules/webdatabase/DatabaseBackend.cpp:
      (WebCore::DatabaseBackend::openAndVerifyVersion):
      * Modules/webdatabase/DatabaseBackendBase.cpp:
      (WebCore::DoneCreatingDatabaseOnExitCaller::~DoneCreatingDatabaseOnExitCaller):
      (WebCore::DatabaseBackendBase::performOpenAndVerify):
      (WebCore::DatabaseBackendBase::getActualVersionForTransaction):
      (WebCore::DatabaseBackendBase::incrementalVacuumIfNeeded):
      * Modules/webdatabase/DatabaseBackendBase.h:
      (DatabaseBackendBase):
      * Modules/webdatabase/DatabaseBackendSync.cpp:
      (WebCore::DatabaseBackendSync::openAndVerifyVersion):
      * Modules/webdatabase/DatabaseContext.cpp:
      (WebCore::DatabaseContext::databaseExceededQuota):
      * Modules/webdatabase/DatabaseManager.cpp:
      * Modules/webdatabase/DatabaseManager.h:
      (DatabaseManager):
      * Modules/webdatabase/DatabaseServer.cpp:
      (WebCore::DatabaseServer::initialize):
      (WebCore::DatabaseServer::setClient):
      (WebCore::DatabaseServer::databaseDirectoryPath):
      (WebCore::DatabaseServer::setDatabaseDirectoryPath):
      (WebCore::DatabaseServer::openDatabase):
      * Modules/webdatabase/DatabaseServer.h:
      * Modules/webdatabase/DatabaseSync.cpp:
      (WebCore::DatabaseSync::changeVersion):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::canEstablishDatabase):
      (WebCore::DatabaseTracker::retryCanEstablishDatabase):
      * Modules/webdatabase/DatabaseTracker.h:
      (WebCore):
      (DatabaseTracker):
      * Modules/webdatabase/SQLStatementBackend.cpp:
      (WebCore::SQLStatementBackend::execute):
      (WebCore::SQLStatementBackend::setDatabaseDeletedError):
      (WebCore::SQLStatementBackend::setVersionMismatchedError):
      (WebCore::SQLStatementBackend::setFailureDueToQuota):
      * Modules/webdatabase/SQLStatementBackend.h:
      (SQLStatementBackend):
      * Modules/webdatabase/SQLTransaction.cpp:
      (WebCore::SQLTransaction::deliverTransactionCallback):
      (WebCore::SQLTransaction::deliverStatementCallback):
      * Modules/webdatabase/SQLTransactionBackend.cpp:
      (WebCore::SQLTransactionBackend::executeSQL):
      (WebCore::SQLTransactionBackend::openTransactionAndPreflight):
      (WebCore::SQLTransactionBackend::runCurrentStatementAndGetNextState):
      (WebCore::SQLTransactionBackend::nextStateForCurrentStatementError):
      (WebCore::SQLTransactionBackend::postflightAndCommit):
      (WebCore::SQLTransactionBackend::acquireOriginLock):
      (WebCore::SQLTransactionBackend::releaseOriginLockIfNeeded):
      * Modules/webdatabase/SQLTransactionBackend.h:
      (SQLTransactionBackend):
      * Modules/webdatabase/SQLTransactionBackendSync.cpp:
      (WebCore::SQLTransactionBackendSync::begin):
      (WebCore::SQLTransactionBackendSync::commit):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147796 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a4946bc1
    • ggaren@apple.com's avatar
      Made USE(JSC) unconditional · 95708e2b
      ggaren@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114058
      
      Reviewed by Anders Carlsson.
      
      ../JavaScriptCore: 
      
      * config.h:
      
      ../ThirdParty: 
      
      * gtest/include/gtest/internal/gtest-port.h:
      
      ../WebCore: 
      
      * Modules/webdatabase/Database.cpp:
      * bindings/ScriptControllerBase.cpp:
      (WebCore::ScriptController::executeIfJavaScriptURL):
      * bindings/js/JavaScriptCallFrame.cpp:
      * bindings/js/JavaScriptCallFrame.h:
      * bindings/scripts/InFilesCompiler.pm:
      (generateHeadersHeader):
      * css/MediaQueryListListener.cpp:
      (WebCore::MediaQueryListListener::queryChanged):
      * dom/ContainerNode.cpp:
      (WebCore::dispatchChildRemovalEvents):
      * dom/EventListener.h:
      (EventListener):
      (WebCore::EventListener::visitJSFunction):
      * dom/EventTarget.h:
      (EventTarget):
      (WebCore):
      (WebCore::EventTarget::visitJSEventListeners):
      * dom/Node.cpp:
      * dom/Node.h:
      * dom/ScriptExecutionContext.cpp:
      (WebCore):
      (WebCore::ScriptExecutionContext::globalData):
      * dom/ScriptExecutionContext.h:
      (ScriptExecutionContext):
      * html/HTMLCanvasElement.cpp:
      (WebCore::HTMLCanvasElement::createImageBuffer):
      * html/HTMLImageLoader.cpp:
      (WebCore::HTMLImageLoader::notifyFinished):
      * inspector/InjectedScriptHost.h:
      (InjectedScriptHost):
      (WebCore::InjectedScriptHost::evaluateReturnsEvalFunction):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore):
      (WebCore::InspectorInstrumentation::didCommitLoadImpl):
      * page/Frame.cpp:
      * page/Settings.cpp:
      (WebCore):
      (WebCore::Settings::shouldRespectPriorityInCSSAttributeSetters):
      * page/Settings.h:
      (Settings):
      * plugins/PluginView.cpp:
      (WebCore::PluginView::start):
      (WebCore::PluginView::stop):
      (WebCore::PluginView::performRequest):
      (WebCore::PluginView::npObject):
      (WebCore):
      (WebCore::PluginView::bindingInstance):
      (WebCore::PluginView::privateBrowsingStateChanged):
      * plugins/PluginView.h:
      (PluginView):
      * plugins/PluginViewBase.h:
      (PluginViewBase):
      (WebCore::PluginViewBase::scriptObject):
      * plugins/PluginViewNone.cpp:
      (WebCore):
      (WebCore::PluginView::bindingInstance):
      * plugins/qt/PluginViewQt.cpp:
      (WebCore::PluginView::dispatchNPEvent):
      (WebCore::PluginView::setNPWindowIfNeeded):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::dropProtection):
      
      ../WebKit/efl: 
      
      * ewk/ewk_frame.cpp:
      (ewk_frame_script_execute):
      
      ../WebKit/qt: 
      
      * Api/qwebscriptworld.cpp:
      (QWebScriptWorld::QWebScriptWorld):
      
      ../WebKit2: 
      
      * Shared/linux/WebMemorySamplerLinux.cpp:
      (WebKit::WebMemorySampler::sampleWebKit):
      * config.h:
      
      ../WTF: 
      
      * wtf/ThreadRestrictionVerifier.h:
      (WTF):
      * wtf/WTFThreadData.cpp:
      (WTF::WTFThreadData::WTFThreadData):
      (WTF::WTFThreadData::~WTFThreadData):
      * wtf/WTFThreadData.h:
      (WTFThreadData):
      * wtf/text/StringImpl.cpp:
      (WTF::StringImpl::~StringImpl):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147795 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      95708e2b
    • roger_fong@apple.com's avatar
      Unreviewed. More VS2010 solution makefile fixes. · 76a2eba1
      roger_fong@apple.com authored
      <rdar://problem/13588964>
      
      * WTF.vcxproj/WTF.make:
      * JavaScriptCore.vcxproj/JavaScriptCore.make:
      * WebCore.vcxproj/WebCore.make:
      * WebKit.vcxproj/WebKit.make:
      * win/tools/WinTools.make:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      76a2eba1
    • commit-queue@webkit.org's avatar
      [EFL] --no-tiled-backing-store build fails because of not used #if USE(ACCELERATED_COMPOSITING) · e05faae5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113627
      
      Patch by Ed Bartosh <bartosh@gmail.com> on 2013-04-05
      Reviewed by Simon Fraser.
      
      .:
      
      * Source/cmake/OptionsEfl.cmake: Disabled 3D_GRAPHICS and WEB_GL when accelerated compositing is on
      
      Source/WebCore:
      
             Wrapped code with #if USE(ACCELERATED_COMPOSITING) to make it compilable
             with --no-tiled-backing-store build option:
      * page/animation/ImplicitAnimation.cpp:
      (WebCore::ImplicitAnimation::animate):
      * page/animation/KeyframeAnimation.cpp:
      (WebCore::KeyframeAnimation::animate):
      * platform/graphics/TextTrackRepresentation.cpp:
      (NullTextTrackRepresentation):
      * platform/graphics/TextTrackRepresentation.h:
      (TextTrackRepresentation):
      * testing/Internals.cpp:
      (WebCore::Internals::resetToConsistentState):
      (WebCore::Internals::setHeaderHeight):
      (WebCore::Internals::setFooterHeight):
      
      Source/WebKit2:
      
      Wrapped code with #if USE(ACCELERATED_COMPOSITING) to make it compilable
      with --no-tiled-backing-store build option:
      * UIProcess/API/C/efl/WKView.cpp:
      * UIProcess/API/efl/EvasGLContext.cpp:
      * UIProcess/API/efl/EvasGLContext.h:
      * UIProcess/API/efl/EvasGLSurface.cpp:
      * UIProcess/API/efl/EvasGLSurface.h:
      * UIProcess/API/efl/EwkView.cpp:
      (EwkView::EwkView):
      (EwkView::displayTimerFired):
      (EwkView::takeSnapshot):
      * UIProcess/API/efl/EwkView.h:
      (WebKit):
      (EwkView):
      * UIProcess/API/efl/SnapshotImageGL.cpp:
      * UIProcess/API/efl/SnapshotImageGL.h:
      * UIProcess/PageViewportController.cpp:
      * UIProcess/PageViewportController.h:
      * UIProcess/efl/PageViewportControllerClientEfl.cpp:
      * UIProcess/efl/ViewClientEfl.cpp:
      (WebKit::ViewClientEfl::didChangeContentsSize):
      * UIProcess/efl/WebView.cpp:
      (WebKit::WebView::didCommitLoad):
      (WebKit::WebView::updateViewportSize):
      (WebKit::WebView::didChangeViewportProperties):
      (WebKit::WebView::pageDidRequestScroll):
      (WebKit::WebView::didRenderFrame):
      (WebKit::WebView::pageTransitionViewportReady):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e05faae5
    • rniwa@webkit.org's avatar
      Remove the remaining Chromium files from WebCore · d26f0023
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114055
      
      Reviewed by Benjamin Poulain.
      
      Removed.
      
      * Resources/pagepopups/chromium: Removed.
      * Resources/pagepopups/chromium/calendarPickerChromium.css: Removed.
      * Resources/pagepopups/chromium/pickerCommonChromium.css: Removed.
      * html/shadow/MediaControlsChromium.cpp: Removed.
      * html/shadow/MediaControlsChromium.h: Removed.
      * html/shadow/MediaControlsChromiumAndroid.cpp: Removed.
      * html/shadow/MediaControlsChromiumAndroid.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147790 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d26f0023
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/css · 88a69c11
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114052
      
      Reviewed by Benjamin Poulain.
      
      Removed.
      
      * css/mediaControlsChromium.css: Removed.
      * css/mediaControlsChromiumAndroid.css: Removed.
      * css/themeChromium.css: Removed.
      * css/themeChromiumAndroid.css: Removed.
      * css/themeChromiumLinux.css: Removed.
      * css/themeChromiumSkia.css: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147788 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88a69c11
    • commit-queue@webkit.org's avatar
      [GStreamer] Segfault when attempting to install missing plugins · 81e4d900
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114046
      
      gst_install_plugins_async expects a null terminated list, but we weren't
      adding a null terminator.
      
      Patch by Brendan Long <self@brendanlong.com> on 2013-04-05
      Reviewed by Philippe Normand.
      
      No new tests since this just fixes a segfault.
      
      * platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp:
      (WebCore::MediaPlayerPrivateGStreamer::handleMessage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147787 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81e4d900
    • benjamin@webkit.org's avatar
      Remove the chromium code for WebCore's indexeddb module · 61ca2688
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114004
      
      Reviewed by Ryosuke Niwa.
      
      * Modules/indexeddb/IDBBackingStore.cpp:
      (WebCore::IDBBackingStore::IDBBackingStore):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::openConnection):
      (WebCore::IDBDatabaseBackendImpl::close):
      * Modules/indexeddb/IDBFactoryBackendInterface.cpp:
      * Modules/indexeddb/IDBTracing.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147786 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      61ca2688
    • rniwa@webkit.org's avatar
      Cleanup after git svn left empty directories. · 3c0eb6c4
      rniwa@webkit.org authored
      * loader/chromium: Removed.
      * page/chromium: Removed.
      * page/scrolling/chromium: Removed.
      * plugins/chromium: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147778 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3c0eb6c4
    • rniwa@webkit.org's avatar
      Actually delete platform/chromium. · 88070efe
      rniwa@webkit.org authored
      * platform/chromium: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147777 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      88070efe
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/platform · a5392f4b
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114014
      
      Reviewed by Anders Carlsson.
      
      Removed.
      
      * platform/audio/chromium: Removed.
      * platform/audio/chromium/AudioBusChromium.cpp: Removed.
      * platform/audio/chromium/AudioDestinationChromium.cpp: Removed.
      * platform/audio/chromium/AudioDestinationChromium.h: Removed.
      * platform/audio/chromium/FFTFrameOpenMAXDLAndroid.cpp: Removed.
      * platform/graphics/FontPlatformData.h:
      * platform/graphics/chromium: Removed.
      * platform/graphics/chromium/AnimationTranslationUtil.cpp: Removed.
      * platform/graphics/chromium/AnimationTranslationUtil.h: Removed.
      * platform/graphics/chromium/Canvas2DLayerBridge.cpp: Removed.
      * platform/graphics/chromium/Canvas2DLayerBridge.h: Removed.
      * platform/graphics/chromium/Canvas2DLayerManager.cpp: Removed.
      * platform/graphics/chromium/Canvas2DLayerManager.h: Removed.
      * platform/graphics/chromium/CrossProcessFontLoading.h: Removed.
      * platform/graphics/chromium/CrossProcessFontLoading.mm: Removed.
      * platform/graphics/chromium/DeferredImageDecoder.cpp: Removed.
      * platform/graphics/chromium/DeferredImageDecoder.h: Removed.
      * platform/graphics/chromium/DiscardablePixelRef.cpp: Removed.
      * platform/graphics/chromium/DiscardablePixelRef.h: Removed.
      * platform/graphics/chromium/DrawingBufferChromium.cpp: Removed.
      * platform/graphics/chromium/Extensions3DChromium.h: Removed.
      * platform/graphics/chromium/FontCacheAndroid.cpp: Removed.
      * platform/graphics/chromium/FontCacheChromiumLinux.cpp: Removed.
      * platform/graphics/chromium/FontCacheChromiumWin.cpp: Removed.
      * platform/graphics/chromium/FontChromiumWin.cpp: Removed.
      * platform/graphics/chromium/FontPlatformData.h: Removed.
      * platform/graphics/chromium/FontPlatformDataChromiumWin.cpp: Removed.
      * platform/graphics/chromium/FontPlatformDataChromiumWin.h: Removed.
      * platform/graphics/chromium/FontRenderStyle.h: Removed.
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp: Removed.
      * platform/graphics/chromium/FontUtilsChromiumWin.h: Removed.
      * platform/graphics/chromium/GlyphPageTreeNodeChromiumWin.cpp: Removed.
      * platform/graphics/chromium/GraphicsLayerChromium.cpp: Removed.
      * platform/graphics/chromium/GraphicsLayerChromium.h: Removed.
      * platform/graphics/chromium/IconChromium.cpp: Removed.
      * platform/graphics/chromium/IconChromiumAndroid.cpp: Removed.
      * platform/graphics/chromium/ImageBufferDataSkia.h: Removed.
      * platform/graphics/chromium/ImageChromium.cpp: Removed.
      * platform/graphics/chromium/ImageDecodingStore.cpp: Removed.
      * platform/graphics/chromium/ImageDecodingStore.h: Removed.
      * platform/graphics/chromium/ImageFrameGenerator.cpp: Removed.
      * platform/graphics/chromium/ImageFrameGenerator.h: Removed.
      * platform/graphics/chromium/LayerPainterChromium.h: Removed.
      * platform/graphics/chromium/LazyDecodingPixelRef.cpp: Removed.
      * platform/graphics/chromium/LazyDecodingPixelRef.h: Removed.
      * platform/graphics/chromium/MediaPlayerPrivateChromium.cpp: Removed.
      * platform/graphics/chromium/MediaPlayerPrivateChromium.h: Removed.
      * platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.cpp: Removed.
      * platform/graphics/chromium/OpaqueRectTrackingContentLayerDelegate.h: Removed.
      * platform/graphics/chromium/PlatformIcon.h: Removed.
      * platform/graphics/chromium/ScaledImageFragment.cpp: Removed.
      * platform/graphics/chromium/ScaledImageFragment.h: Removed.
      * platform/graphics/chromium/SimpleFontDataChromiumWin.cpp: Removed.
      * platform/graphics/chromium/SkSizeHash.h: Removed.
      * platform/graphics/chromium/TextureUploader.h: Removed.
      * platform/graphics/chromium/ThreadSafeDataTransport.cpp: Removed.
      * platform/graphics/chromium/ThreadSafeDataTransport.h: Removed.
      * platform/graphics/chromium/TransformSkMatrix44Conversions.cpp: Removed.
      * platform/graphics/chromium/TransformSkMatrix44Conversions.h: Removed.
      * platform/graphics/chromium/TransparencyWin.cpp: Removed.
      * platform/graphics/chromium/TransparencyWin.h: Removed.
      * platform/graphics/chromium/UniscribeHelper.cpp: Removed.
      * platform/graphics/chromium/UniscribeHelper.h: Removed.
      * platform/graphics/chromium/UniscribeHelperTextRun.cpp: Removed.
      * platform/graphics/chromium/UniscribeHelperTextRun.h: Removed.
      * platform/graphics/chromium/VDMXParser.cpp: Removed.
      * platform/graphics/chromium/VDMXParser.h: Removed.
      * platform/graphics/gpu/DrawingBuffer.cpp:
      (WebCore):
      * platform/graphics/gpu/SharedGraphicsContext3D.cpp:
      (WebCore::SharedGraphicsContext3DImpl::getOrCreateContext):
      * platform/mediastream/chromium: Removed.
      * platform/mediastream/chromium/MediaStreamCenterChromium.cpp: Removed.
      * platform/mediastream/chromium/MediaStreamCenterChromium.h: Removed.
      * platform/mediastream/chromium/RTCDTMFSenderHandlerChromium.cpp: Removed.
      * platform/mediastream/chromium/RTCDTMFSenderHandlerChromium.h: Removed.
      * platform/mediastream/chromium/RTCDataChannelHandlerChromium.cpp: Removed.
      * platform/mediastream/chromium/RTCDataChannelHandlerChromium.h: Removed.
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.cpp: Removed.
      * platform/mediastream/chromium/RTCPeerConnectionHandlerChromium.h: Removed.
      * platform/network/chromium: Removed.
      * platform/network/chromium/AuthenticationChallenge.h: Removed.
      * platform/network/chromium/AuthenticationChallengeChromium.cpp: Removed.
      * platform/network/chromium/BlobRegistryProxy.cpp: Removed.
      * platform/network/chromium/BlobRegistryProxy.h: Removed.
      * platform/network/chromium/CookieJarChromium.cpp: Removed.
      * platform/network/chromium/DNSChromium.cpp: Removed.
      * platform/network/chromium/ResourceError.h: Removed.
      * platform/network/chromium/ResourceHandle.cpp: Removed.
      * platform/network/chromium/ResourceHandleInternal.h: Removed.
      * platform/network/chromium/ResourceRequest.cpp: Removed.
      * platform/network/chromium/ResourceRequest.h: Removed.
      * platform/network/chromium/ResourceResponse.cpp: Removed.
      * platform/network/chromium/ResourceResponse.h: Removed.
      * platform/network/chromium/SocketStreamError.h: Removed.
      * platform/network/chromium/SocketStreamHandle.cpp: Removed.
      * platform/network/chromium/SocketStreamHandle.h: Removed.
      * platform/network/chromium/SocketStreamHandleInternal.h: Removed.
      * platform/sql/chromium: Removed.
      * platform/sql/chromium/SQLiteFileSystemChromium.cpp: Removed.
      * platform/sql/chromium/SQLiteFileSystemChromiumPosix.cpp: Removed.
      * platform/sql/chromium/SQLiteFileSystemChromiumWin.cpp: Removed.
      * platform/text/chromium: Removed.
      * platform/text/chromium/Hyphenation.cpp: Removed.
      * platform/text/chromium/TextBreakIteratorInternalICUChromium.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147775 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a5392f4b
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/workers · 7a7b346d
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114050
      
      Reviewed by Anders Carlsson.
      
      Removed.
      
      * workers/WorkerLoaderProxy.h:
      (WorkerLoaderProxy):
      * workers/chromium: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147772 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7a7b346d
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/storage · 0233e1a4
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114049
      
      Reviewed by Anders Carlsson.
      
      Removed.
      
      * storage/StorageNamespace.cpp:
      * storage/chromium: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147771 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0233e1a4
    • commit-queue@webkit.org's avatar
      [SOUP] Remove unnecessary explicit keyword in SocketStreamError.h · 5969d52f
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113913
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-04-05
      Reviewed by Martin Robinson.
      
      No new tests, just removing an unnecessary code.
      
      * platform/network/soup/SocketStreamError.h:
      (WebCore::SocketStreamError::SocketStreamError):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147769 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5969d52f
    • commit-queue@webkit.org's avatar
      Remove WTF_USE_GOOGLEURL-guarded code · 78805507
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114028
      
      Patch by Zan Dobersek <zdobersek@igalia.com> on 2013-04-05
      Reviewed by Ryosuke Niwa.
      
      Source/WebCore:
      
      The only remaining usage of the USE(GOOGLEURL) guards is in LinkHashChromium.cpp that will
      get removed when purging the Source/WebCore/platform/chromium directory.
      
      * config.h: Remove the define that was Chromium-specific.
      * platform/KURL.cpp:
      (WebCore):
      (WebCore::KURL::reportMemoryUsage):
      (WebCore::KURL::isSafeToSendToAnotherThread):
      * platform/KURL.h:
      (KURL):
      * platform/KURLGoogle.cpp: Removed.
      * platform/KURLGooglePrivate.h: Removed.
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/AboutDataUseFeatures.in: Remove GOOGLEURL from the list.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147766 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      78805507
    • zoltan@webkit.org's avatar
      [regression] Security: Heap-use-after-free in WebCore::RenderBlock::logicalRightOffsetForLine · 50d1bc7d
      zoltan@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=111594
      
      Patch by Bem Jones-Bey <bjonesbe@adobe.com> on 2013-04-05
      Reviewed by David Hyatt.
      
      Source/WebCore: 
      
      Swapping the bases was causing any floats in the right base to be
      lost, so change the code so that it no longer swaps the bases.
      
      Test: fast/ruby/float-object-doesnt-crash.html
      
      * rendering/RenderRubyRun.cpp:
      (WebCore::RenderRubyRun::removeChild): Don't swap the bases anymore.
      
      LayoutTests: 
      
      Add test to verify that the use-after-free is fixed. Note that it will
      only crash when run under a memory checking tool like ASAN.
      
      * fast/ruby/float-object-doesnt-crash-expected.txt: Added.
      * fast/ruby/float-object-doesnt-crash.html: Added.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147765 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      50d1bc7d
    • andersca@apple.com's avatar
      Remove dead code · d843f4bb
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114043
      
      Reviewed by Beth Dakin.
      
      * platform/PublicSuffix.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147762 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d843f4bb
    • andersca@apple.com's avatar
      Remove dead Chromium code from WebCore/workers · fdeaefc0
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114039
      
      Reviewed by Antti Koivisto.
      
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::importScripts):
      * workers/WorkerLoaderProxy.h:
      * workers/WorkerMessagingProxy.cpp:
      (WebCore::WorkerContextProxy::create):
      * workers/WorkerScriptLoader.cpp:
      (WebCore::WorkerScriptLoader::WorkerScriptLoader):
      (WebCore::WorkerScriptLoader::createResourceRequest):
      * workers/WorkerScriptLoader.h:
      * workers/WorkerThread.cpp:
      (WebCore::WorkerThread::workerThread):
      * workers/chromium/WorkerContextProxyChromium.cpp: Removed.
      * workers/chromium/WorkerContextProxyChromium.h: Removed.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147761 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fdeaefc0
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/plugins · e3765031
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114015
      
      Reviewed by Andreas Kling.
      
      Removed.
      
      * plugins/chromium: Removed.
      * plugins/chromium/PluginDataChromium.cpp: Removed.
      * plugins/chromium/PluginDataChromium.h: Removed.
      * plugins/chromium/PluginListBuilder.cpp: Removed.
      * plugins/chromium/PluginListBuilder.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147760 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e3765031
    • simon.fraser@apple.com's avatar
      ASSERTION FAILED: m_repaintRect ==... · 098ed699
      simon.fraser@apple.com authored
      ASSERTION FAILED: m_repaintRect == renderer()->clippedOverflowRectForRepaint(renderer()->containerForRepaint()) after r135816
      https://bugs.webkit.org/show_bug.cgi?id=103432
      
      Reviewed by Allan Sandfeld Jensen.
      
      Remove optimization added in r99752 that attempted to avoid clip rect
      updates for table cells. As the assertions show, this optimization
      is not always correct, so remove it. Bug 108272 tracks adding it back in.
      
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::RenderLayer):
      (WebCore::RenderLayer::updateLayerPositionsAfterScroll): Remove m_canSkipRepaintRectsUpdateOnScroll
      check when updating clip rects.
      * rendering/RenderLayer.h: Remove the m_canSkipRepaintRectsUpdateOnScroll bit.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147759 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      098ed699
    • betravis@adobe.com's avatar
      [css exclusions] Dynamically removing shape-inside should cause relayout of... · 1e4305c2
      betravis@adobe.com authored
      [css exclusions] Dynamically removing shape-inside should cause relayout of child blocks' inline content
      https://bugs.webkit.org/show_bug.cgi?id=111029
      
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      Preserve a removed ExclusionShapeInsideInfo for one additional layout pass
      so that it can notify descendant inline content to relayout. This patch adds
      a new 'needsRemoval' boolean to ExclusionShapeInsideInfo, which is set when
      a style change removes but does not replace a shape-inside. When determining
      whether a block needs to relayout inline children, ExclusionShapeInsideInfos with
      the needsRemoval boolean set are included, but at other times (such as during
      inline layout), they are ignored.
      
      Added tests to the existing dynamic shape testfile
      fast/exclusions/shape-inside/shape-inside-dynamic-nested.html
      
      * rendering/ExclusionShapeInsideInfo.h:
      (WebCore::ExclusionShapeInsideInfo::setNeedsRemoval): Get/Set the
      needsRemoval boolean.
      (WebCore::ExclusionShapeInsideInfo::needsRemoval): Ditto.
      (ExclusionShapeInsideInfo):
      (WebCore::ExclusionShapeInsideInfo::ExclusionShapeInsideInfo):
      Initialize the needsRemoval boolean.
      * rendering/LayoutState.cpp:
      (WebCore::LayoutState::LayoutState): Propagate removed shape insides
      for layout correctly. You only need to track one at a time, and a
      removed shape inside should not take precedence over a set shape-inside.
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::updateExclusionShapeInsideInfoAfterStyleChange):
      Set the ExclusionShapeInsideInfo needsRemoval boolean, rather than immediately
      removing the info.
      (WebCore::exclusionInfoRequiresRelayout): Account for the needsRemoval
      boolean as another way of requiring relayout.
      (WebCore::RenderBlock::updateRegionsAndExclusionsBeforeChildLayout):
      Look up whether an ExclusionShapeInsideInfo has been removed.
      (WebCore::RenderBlock::updateRegionsAndExclusionsAfterChildLayout):
      Remove any ExclusionShapeInsides marked for removal after a layout pass.
      (WebCore):
      (WebCore::RenderBlock::layoutBlock): Call the new updateRegionsAndExclusions
      Before/After methods.
      * rendering/RenderBlock.h:
      (WebCore::RenderBlock::exclusionShapeInsideInfo): Filter the result based
      on whether it should include removed infos.
      (RenderBlock):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::RenderBlock::layoutExclusionShapeInsideInfo): Ditto.
      * rendering/RenderDeprecatedFlexibleBox.cpp:
      (WebCore::RenderDeprecatedFlexibleBox::layoutBlock):
      Same as RenderBlock::layoutBlock.
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::layoutBlock): Ditto.
      * rendering/RenderGrid.cpp:
      (WebCore::RenderGrid::layoutBlock): Ditto.
      
      LayoutTests:
      
      Test that removed shape-insides correctly cause relayout in their blocks'
      inline content.
      
      * fast/exclusions/shape-inside/shape-inside-dynamic-nested-expected.html:
      * fast/exclusions/shape-inside/shape-inside-dynamic-nested.html:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147758 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1e4305c2
    • commit-queue@webkit.org's avatar
      [CSS Regions] Elements in a region should be assignable to a named flow · e0da8c77
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=74144
      
      Patch by Mihai Maerean <mmaerean@adobe.com> on 2013-04-05
      Reviewed by David Hyatt.
      
      Source/WebCore:
      
      DOM children of a region must not be rendered as children of the region, but can be collected in flow threads.
      
      NodeRenderingContext::parentRenderer now creates the parent render flow thread if it doesn't exist.
      
      Element::moveToFlowThreadIsNeeded is a virtual method that is overriden in PseudoElement to return false and
      in SVGElement so only svg root elements can directly be collected by a render flow thread.
      
      RenderObject::canDOMChildrenHaveRenderParent exists to optimize the code so nodes inside regions (and maybe
      other types of renderers in the future) can still have renderers if they need to be in a flow thread while the
      rest of renderers that can't have children skip the new instructions.
      
      Tests: fast/regions/flow-body-in-html.html . To test the duplicate bug #103685.
             fast/regions/region-content-flown-into-region.html
             fast/regions/universal-selector-children-to-the-same-region.html . To test the duplicate bug #103685.
      
      * dom/Element.cpp:
      (WebCore::Element::moveToFlowThreadIsNeeded):
      * dom/Element.h:
      * dom/NodeRenderingContext.cpp:
      (WebCore::NodeRenderingContext::parentRenderer): the renderer that will be the parent for this node's renderer.
      In the case of RenderFlowThreads, it may need to create it.
      (WebCore::NodeRenderingContext::shouldCreateRenderer): In a region, only the children that need to be in a flow
      thread should have a renderer.
      (WebCore::NodeRenderingContext::moveToFlowThreadIfNeeded):
      (WebCore::NodeRenderingContext::moveToFlowThread):
      * dom/NodeRenderingContext.h:
      (NodeRenderingContext):
      * dom/PseudoElement.h: pseudo-elements cannot be directly collected into a named flow.
      * dom/Text.cpp:
      (WebCore::Text::textRendererIsNeeded):
      (WebCore::Text::updateTextRenderer): Because calling textRendererIsNeeded(NodeRenderingContext(...)) on a
      non-const l-value NodeRenderingContext cannot be done on a temporary object on the stack.
      * dom/Text.h:
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::isContentNodeRegisteredWithAnyNamedFlow):
      * rendering/FlowThreadController.h:
      * rendering/RenderObject.h:
      (WebCore::RenderObject::canDOMChildrenHaveRenderParent): Even if this render object can't have render children,
      the children in the DOM tree may have a render parent (that is different from this render object).
      * rendering/RenderRegion.h:
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::moveToFlowThreadIsNeeded): Allow only svg root elements to be directly collected by a
      render flow thread.
      * svg/SVGElement.h:
      (SVGElement):
      
      LayoutTests:
      
      * fast/regions/flow-body-in-html-expected.txt: Added.
      * fast/regions/flow-body-in-html.html: Added. To test the duplicate bug #103685.
      * fast/regions/region-content-flown-into-region-expected.html: Added.
      * fast/regions/region-content-flown-into-region.html: Added.
      * fast/regions/universal-selector-children-to-the-same-region-expected.txt: Added.
      * fast/regions/universal-selector-children-to-the-same-region.html: Added. To test the duplicate bug #103685.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147756 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e0da8c77
    • allan.jensen@digia.com's avatar
      Fix GCC with C++11 build · 541b6a47
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=111579
      
      Reviewed by Anders Carlsson.
      
      If the destructor is private, MemoryInstrumentation can not create an inherited class.
      
      * css/PropertySetCSSStyleDeclaration.h:
      (StyleRuleCSSStyleDeclaration):
      * dom/ShadowRoot.h:
      (ShadowRoot):
      * loader/SubresourceLoader.h:
      (SubresourceLoader):
      * platform/Timer.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147751 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      541b6a47
    • allan.jensen@digia.com's avatar
      [Qt] Create ShadowBlur on demand. · c054201c
      allan.jensen@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=113506
      
      Reviewed by Noam Rosenthal.
      
      This patch creates ShadowBlur objects on demand instead of keeping a single one alive for
      each GraphicsContext. This matches what other platforms does and fixes the problem with
      an active shadowblur being affected by changing shadow settings on the GraphicsContext.
      
      The method mustUseShadowBlur is moved from ShadowBlur to GraphcisContext, so that it can
      be used to determine if a ShadowBlur object should even be generated.
      
      * platform/graphics/GraphicsContext.cpp:
      (WebCore::GraphicsContext::hasBlurredShadow):
      (WebCore::GraphicsContext::mustUseShadowBlur):
      * platform/graphics/GraphicsContext.h:
      (GraphicsContext):
      * platform/graphics/ShadowBlur.cpp:
      (WebCore::ShadowBlur::ShadowBlur):
      * platform/graphics/ShadowBlur.h:
      * platform/graphics/cairo/FontCairo.cpp:
      (WebCore::drawGlyphsShadow):
      * platform/graphics/cg/GraphicsContextCG.cpp:
      (WebCore::GraphicsContext::fillRect):
      (WebCore::GraphicsContext::fillRoundedRect):
      (WebCore::GraphicsContext::fillRectWithRoundedHole):
      * platform/graphics/qt/FontQt.cpp:
      (WebCore::drawQtGlyphRun):
      * platform/graphics/qt/GraphicsContextQt.cpp:
      (GraphicsContextPlatformPrivate):
      (WebCore::GraphicsContextPlatformPrivate::GraphicsContextPlatformPrivate):
      (WebCore::GraphicsContextPlatformPrivate::~GraphicsContextPlatformPrivate):
      (WebCore::GraphicsContext::restorePlatformState):
      (WebCore::GraphicsContext::fillPath):
      (WebCore::GraphicsContext::strokePath):
      (WebCore::GraphicsContext::fillRect):
      (WebCore::GraphicsContext::fillRoundedRect):
      (WebCore::GraphicsContext::fillRectWithRoundedHole):
      (WebCore::GraphicsContext::setPlatformShadow):
      (WebCore::GraphicsContext::clearPlatformShadow):
      * platform/graphics/qt/ImageQt.cpp:
      (WebCore::BitmapImage::draw):
      * platform/graphics/qt/StillImageQt.cpp:
      (WebCore::StillImage::draw):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147750 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c054201c
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/page · 70c7d4da
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114013
      
      Reviewed by Anders Carlsson.
      
      Removed.
      
      * page/Console.cpp:
      (WebCore::Console::time):
      (WebCore::Console::timeEnd):
      * page/EventHandler.cpp:
      (WebCore::shouldGesturesTriggerActive):
      (WebCore::EventHandler::handleMouseReleaseEvent):
      (WebCore):
      (WebCore::EventHandler::sendScrollEventToView):
      * page/FeatureObserver.cpp:
      (WebCore::FeatureObserver::updateMeasurements):
      * page/FrameView.cpp:
      (WebCore::FrameView::layout):
      (WebCore::FrameView::useSlowRepaints):
      * page/PageConsole.cpp:
      * page/PageGroup.cpp:
      (WebCore::PageGroup::isLinkVisited):
      (WebCore::PageGroup::addVisitedLink):
      * page/Settings.cpp:
      (WebCore):
      * page/android: Removed.
      * page/chromium: Removed.
      * page/chromium/ChromeClientChromium.h: Removed.
      * page/chromium/DragControllerChromium.cpp: Removed.
      * page/chromium/EventHandlerChromium.cpp: Removed.
      * page/scrolling/ScrollingCoordinator.cpp:
      (WebCore::ScrollingCoordinator::create):
      (WebCore):
      * page/scrolling/ScrollingCoordinator.h:
      (ScrollingCoordinator):
      * page/scrolling/ScrollingTree.cpp:
      (WebCore):
      * page/scrolling/ScrollingTree.h:
      (ScrollingTree):
      * page/scrolling/chromium: Removed.
      * page/scrolling/chromium/ScrollingCoordinatorChromium.cpp: Removed.
      * page/scrolling/chromium/ScrollingCoordinatorChromium.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147749 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      70c7d4da
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/rendering · be2ede1f
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114017
      
      Reviewed by Simon Fraser.
      
      Removed.
      
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::requiresHorizontalScrollbarLayer):
      (WebCore::RenderLayerBacking::requiresVerticalScrollbarLayer):
      (WebCore::RenderLayerBacking::requiresScrollCornerLayer):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::paintContents):
      (WebCore::shouldCompositeOverflowControls):
      (WebCore::RenderLayerCompositor::requiresOverhangAreasLayer):
      * rendering/RenderMediaControlsChromium.cpp: Removed.
      * rendering/RenderMediaControlsChromium.h: Removed.
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::shouldRespectImageOrientation):
      * rendering/RenderText.cpp:
      (WebCore):
      (WebCore::RenderText::previousOffsetForBackwardDeletion):
      * rendering/RenderThemeChromiumAndroid.cpp: Removed.
      * rendering/RenderThemeChromiumAndroid.h: Removed.
      * rendering/RenderThemeChromiumCommon.cpp: Removed.
      * rendering/RenderThemeChromiumCommon.h: Removed.
      * rendering/RenderThemeChromiumDefault.cpp: Removed.
      * rendering/RenderThemeChromiumDefault.h: Removed.
      * rendering/RenderThemeChromiumFontProvider.cpp: Removed.
      * rendering/RenderThemeChromiumFontProvider.h: Removed.
      * rendering/RenderThemeChromiumFontProviderLinux.cpp: Removed.
      * rendering/RenderThemeChromiumFontProviderWin.cpp: Removed.
      * rendering/RenderThemeChromiumMac.h: Removed.
      * rendering/RenderThemeChromiumMac.mm: Removed.
      * rendering/RenderThemeChromiumSkia.cpp: Removed.
      * rendering/RenderThemeChromiumSkia.h: Removed.
      * rendering/RenderThemeChromiumWin.cpp: Removed.
      * rendering/RenderThemeChromiumWin.h: Removed.
      * rendering/RenderThemeMacShared.mm:
      (WebCore::RenderThemeMacShared::paintSliderThumb):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147748 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      be2ede1f
    • commit-queue@webkit.org's avatar
      [Texmap] css3/filters/filter-animation-from-none-hw.html does not animate · ef507747
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114026
      
      Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-05
      Reviewed by Allan Sandfeld Jensen.
      
      Allow the filter's blending function to take place when animating from/to none.
      
      * platform/graphics/GraphicsLayerAnimation.cpp:
      (WebCore::applyFilterAnimation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147746 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ef507747
    • commit-queue@webkit.org's avatar
      [CoordGfx] Enable filter animations · 560c5be5
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114027
      
      Patch by Noam Rosenthal <noam@webkit.org> on 2013-04-05
      Reviewed by Allan Sandfeld Jensen.
      
      Allow CoordinatedGraphicsLayer to serialize filter animations to the UI process.
      
      Covered by animation tests in css3/filters.
      
      * platform/graphics/texmap/coordinated/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::addAnimation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147745 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      560c5be5
    • ch.dumez@sisa.samsung.com's avatar
      Avoid double hash table lookups in TextureMapperGL · 9c1a68ab
      ch.dumez@sisa.samsung.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114030
      
      Reviewed by Noam Rosenthal.
      
      Use Vector::add() and leverage its returned AddResult value instead of
      calling Vector::find() then Vector::set() if the key does not already
      exist in the map. This results in a single hash lookup instead of two
      in this case.
      
      No new tests, no behavior change.
      
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::getShaderProgram):
      (WebCore::TextureMapperGLData::getStaticVBO):
      (WebCore::TextureMapperGL::drawUsingCustomFilter):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147742 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      9c1a68ab
    • commit-queue@webkit.org's avatar
      Source/WebCore: Updating mouse cursor on style changes without emitting fake mousemove event · d9a17e16
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=101857
      
      Patch by Aivo Paas <aivopaas@gmail.com> on 2013-04-05
      Reviewed by Allan Sandfeld Jensen.
      
      Mouse cursor changes in styles used to be reflected in UI through dispatching a fake
      mousemove event. The old approach has some flaws: it emits a mousemove event in
      javascript when there is no mouse movement involved (bug 85343); the fake mousemove
      event is cancelled while there is a mouse button held down - cursor won't change
      until mouse is moved or the button released (bug 53341).
      
      The new approach does not use the fake mousemove event. Instead, it uses only the logic
      needed for the actual cursor change to happen.
      
      EventHandler::selectCursor was refactored to not take a whole mouse event but instead work with
      HitTestResult so that EventHandler::updateCursor must not create a useless PlatformEvent.
      
      Fixes: https://bugs.webkit.org/show_bug.cgi?id=85343 (mousemove event on cursor change)
             https://bugs.webkit.org/show_bug.cgi?id=53341 (no cursor change when mouse button down)
      
      Tests: fast/events/mouse-cursor-change.html
             fast/events/mouse-cursor-no-mousemove.html
      
      * page/EventHandler.cpp:
      (WebCore::EventHandler::EventHandler):
      (WebCore::EventHandler::clear):
      (WebCore::EventHandler::cursorUpdateTimerFired):
      (WebCore::EventHandler::updateCursor):
      (WebCore::EventHandler::selectCursor):
      (WebCore::EventHandler::handleMouseMoveEvent):
      (WebCore::EventHandler::scheduleCursorUpdate):
      * page/EventHandler.h:
      * page/FrameView.cpp:
      (WebCore::FrameView::shouldSetCursor):
      * page/FrameView.h:
      * page/MouseEventWithHitTestResults.cpp:
      (WebCore::MouseEventWithHitTestResults::isOverLink):
      * rendering/HitTestResult.cpp:
      (WebCore::HitTestResult::isOverLink):
      * rendering/HitTestResult.h:
      * rendering/RenderObject.cpp:
      (WebCore::RenderObject::styleDidChange):
      
      LayoutTests: Updating mouse cursor on style changes without emitting fake mousemove event
      https://bugs.webkit.org/show_bug.cgi?id=101857
      Changing CSS cursor should work no matter is mouse button is pressed or not
      https://bugs.webkit.org/show_bug.cgi?id=53341
      
      Patch by Aivo Paas <aivopaas@gmail.com> on 2013-04-05
      Reviewed by Allan Sandfeld Jensen.
      
      Added tests for changing cursor on mousemove, mousedown, mouseup and mousemove
      while mouse button being held down. Also added test to verify that a mousemove
      event is not fired for changing cursor when mouse is not moving.
      
      * fast/events/mouse-cursor-change-expected.txt: Added.
      * fast/events/mouse-cursor-change.html: Added.
      * fast/events/mouse-cursor-no-mousemove-expected.txt: Added.
      * fast/events/mouse-cursor-no-mousemove.html: Added.
      * platform/mac/TestExpectations:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147739 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d9a17e16
    • jocelyn.turcotte@digia.com's avatar
      [Qt] PluginsX11: exposedRect offset is applied twice when painting windowless · e74d495f
      jocelyn.turcotte@digia.com authored
      https://bugs.webkit.org/show_bug.cgi?id=114020
      
      Reviewed by Simon Hausmann.
      
      Both XGetImage and QPainter::drawImage would apply the offset.
      Since the XImage will only contain the exposed rect, no need to specify
      the source rect to drawImage.
      
      * plugins/qt/PluginViewQt.cpp:
      (WebCore::PluginView::paintUsingXPixmap):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147737 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      e74d495f
    • commit-queue@webkit.org's avatar
      Web Inspector: crash in InspectorDOMAgent::innerHighlightQuad after r147566 · 260f769c
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113991
      
      Patch by Seokju Kwon <seokju.kwon@gmail.com> on 2013-04-05
      Reviewed by Joseph Pecoraro.
      
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::innerHighlightQuad):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147732 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      260f769c
    • commit-queue@webkit.org's avatar
      REGRESSION(r145279): Build fails while linking when MEDIA_STREAM is enabled · 6394346e
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=113294
      
      Patch by Carlos Garcia Campos <cgarcia@igalia.com> on 2013-04-05
      Reviewed by Xan Lopez.
      
      In r145279 NamedGetter extended attribute is added to
      RTCStatsResponse.idl which makes the code generator to add
      prototypes for JSRTCStatsResponse::nameGetter and
      JSRTCStatsResponse::canGetItemsForName to the generated
      JSRTCStatsResponse header, but they are not implemented
      anywhere. We need to provide a JSRTCStatsResponseCustom file with
      the implementation of both functions.
      
      * GNUmakefile.list.am: Add JSRTCStatsResponseCustom.cpp to
      compilation.
      * Target.pri: Ditto.
      * UseJSC.cmake: Ditto.
      * WebCore.vcproj/WebCore.vcproj: Ditto.
      * WebCore.vcxproj/WebCore.vcxproj: Ditto.
      * WebCore.vcxproj/WebCore.vcxproj.filters: Ditto.
      * bindings/js/JSRTCStatsResponseCustom.cpp: Added.
      (WebCore):
      (WebCore::JSRTCStatsResponse::canGetItemsForName):
      (WebCore::JSRTCStatsResponse::nameGetter):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147731 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6394346e
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/loader · 2e41de8f
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114011
      
      Reviewed by Benjamin Poulain.
      
      Removed.
      
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::responseReceived):
      * loader/DocumentThreadableLoader.h:
      * loader/FrameLoader.cpp:
      (WebCore::FrameLoader::FrameLoader):
      (WebCore::FrameLoader::defaultObjectContentType):
      (WebCore):
      * loader/FrameLoader.h:
      (FrameLoader):
      * loader/FrameLoaderClient.h:
      (FrameLoaderClient):
      * loader/PingLoader.cpp:
      (WebCore::PingLoader::loadImage):
      (WebCore::PingLoader::sendPing):
      (WebCore::PingLoader::sendViolationReport):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore):
      (WebCore::ResourceLoadScheduler::ResourceLoadScheduler):
      (WebCore::ResourceLoadScheduler::scheduleLoad):
      * loader/ResourceLoader.h:
      * loader/SubresourceLoader.h:
      * loader/ThreadableLoaderClient.h:
      (ThreadableLoaderClient):
      * loader/ThreadableLoaderClientWrapper.h:
      (ThreadableLoaderClientWrapper):
      * loader/appcache/ApplicationCacheHost.h:
      (WebCore):
      (ApplicationCacheHost):
      * loader/cache/CachedRawResource.h:
      (CachedRawResource):
      (WebCore::CachedRawResourceClient::redirectReceived):
      * loader/cache/CachedResource.cpp:
      (WebCore):
      (WebCore::CachedResource::load):
      * loader/cache/CachedResource.h:
      (WebCore::CachedResource::didSendData):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::preload):
      * loader/chromium: Removed.
      * loader/chromium/CachedRawResourceChromium.cpp: Removed.
      * loader/chromium/DocumentThreadableLoaderChromium.cpp: Removed.
      * loader/chromium/ResourceLoaderChromium.cpp: Removed.
      * loader/chromium/SubresourceLoaderChromium.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147730 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2e41de8f
    • rniwa@webkit.org's avatar
      Remove Chromium code from WebCore/editing · 71801859
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114008
      
      Reviewed by Benjamin Poulain.
      
      Removed.
      
      * editing/EditingBehavior.h:
      (WebCore::EditingBehavior::shouldAllowSpellingSuggestionsWithoutSelection):
      * editing/FrameSelection.h:
      (WebCore):
      * editing/chromium: Removed.
      * editing/chromium/EditorChromium.cpp: Removed.
      * editing/chromium/FrameSelectionChromium.cpp: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147721 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      71801859
    • benjamin@webkit.org's avatar
      Remove the chromium code from the filesystem module · 6de4420b
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114002
      
      Reviewed by Ryosuke Niwa.
      
      * Modules/filesystem/DOMFileSystemBase.cpp:
      (WebCore::DOMFileSystemBase::createFileSystemURL):
      * Modules/filesystem/FileSystemType.h:
      * Modules/filesystem/LocalFileSystem.cpp:
      * Modules/filesystem/LocalFileSystem.h:
      (LocalFileSystem):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147720 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      6de4420b
    • rniwa@webkit.org's avatar
      Remove Chromium code from Source/WebCore/dom · a68f70bb
      rniwa@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=114007
      
      Reviewed by Benjamin Poulain.
      
      Removed.
      
      * dom/Document.cpp:
      (WebCore::Document::recalcStyle):
      (WebCore::Document::implicitClose):
      (WebCore::Document::setFocusedNode):
      * dom/MessagePortChannel.h:
      (MessagePortChannel):
      * dom/ShadowRoot.cpp:
      (WebCore::ShadowRoot::ShadowRoot):
      * dom/default/chromium: Removed.
      * dom/default/chromium/PlatformMessagePortChannelChromium.cpp: Removed.
      * dom/default/chromium/PlatformMessagePortChannelChromium.h: Removed.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@147719 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      a68f70bb