1. 15 Oct, 2012 2 commits
    • tonikitoo@webkit.org's avatar
      [BlackBerry] Clean up BackingStoreClient (part II) · ae434975
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99327
      
      Reviewed by Yong Li.
      Patch by Antonio Gomes <agomes@rim.com>
      
      Remove more unneeded BackingStoreClient <-> WebPageClient integration
      methods:
      - BackingStoreClient* backingStoreClientForFrame(...)
      - void addBackingStoreClientForFrame(...)
      - void removeBackingStoreClientForFrame(...)
      
      Change places calling WPPriv::backingStoreClientForFrame to directly
      access WPPriv::backingStoreClient instead, since only the main frame will
      have a BackingStoreClient instance associated with it, and it is owned by
      the WKPriv.
      
      Remove non-mainframe only references to BackingStoreClient completely,
      since it is dead code now.
      
      * Api/InRegionScroller.cpp:
      (BlackBerry::WebKit::InRegionScrollerPrivate::setLayerScrollPosition):
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::backingStoreClient):
      (BlackBerry::WebKit::WebPage::destroy):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore::ChromeClientBlackBerry::invalidateContentsForSlowScroll):
      (WebCore::ChromeClientBlackBerry::scroll):
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::transitionToCommittedForNewPage):
      (WebCore::FrameLoaderClientBlackBerry::createFrame):
      (WebCore::FrameLoaderClientBlackBerry::detachedFromParent2):
      * WebKitSupport/BackingStoreClient.cpp:
      (BlackBerry::WebKit::BackingStoreClient::create):
      (BlackBerry::WebKit::BackingStoreClient::BackingStoreClient):
      (BlackBerry::WebKit::BackingStoreClient::~BackingStoreClient):
      * WebKitSupport/BackingStoreClient.h:
      (BackingStoreClient):
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::setBatchEditingActive):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131314 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae434975
    • tonikitoo@webkit.org's avatar
      [BlackBerry] Clean up BackingStoreClient (part I) · 2c1febaf
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99327
      
      Reviewed by Yong Li.
      Patch by Antonio Gomes <agomes@rim.com>
      
      Now that we won't use the BackingStoreClient code path to scroll inner frames at all
      (instead we use AC layers!), we can remove all "!isMainFrame" code paths.
      
      No behavior change, since the code path being removed was not in use.
      
      * WebKitSupport/BackingStoreClient.cpp:
      (BlackBerry::WebKit::BackingStoreClient::absoluteRect):
      (BlackBerry::WebKit::BackingStoreClient::transformedActualVisibleSize):
      (BlackBerry::WebKit::BackingStoreClient::viewportSize):
      (BlackBerry::WebKit::BackingStoreClient::transformedViewportSize):
      (BlackBerry::WebKit::BackingStoreClient::visibleContentsRect):
      (BlackBerry::WebKit::BackingStoreClient::transformedVisibleContentsRect):
      (BlackBerry::WebKit::BackingStoreClient::checkOriginOfCurrentScrollOperation):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131305 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2c1febaf
  2. 13 Oct, 2012 1 commit
    • jpetsovits@rim.com's avatar
      [BlackBerry] Fetch blit rects from a viewport accessor · 7d0e6131
      jpetsovits@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98581
      RIM PR 173292
      
      Reviewed by George Staikos.
      Internally reviewed by Arvid Nilsson.
      
      Source/WebKit:
      
      Add new ViewportAccessor files to the build.
      See Source/WebKit/blackberry/ChangeLog for the
      verbose commit message.
      
      * PlatformBlackBerry.cmake:
      
      Source/WebKit/blackberry:
      
      The long-standing userInterfaceBlittedVisibleContentsRect()
      method in WebPageClient has long been a major annoyance,
      as it returns the source rect for WebKit contents but in
      backingstore pixel coordinates. This makes it not only
      unwieldy but also terribly fragile, especially when
      both pinch zoom and a backingstore re-render both deal
      with the same rectangle. On different threads, even.
      
      BlackBerry::Platform now exposes a ViewportAccessor
      interface, which can be used to get the various rects
      in document coordinates or target pixel coordinates,
      both being a better choice than the ones dependent
      on an implentation detail.
      
      This commit makes use of this new functionality.
      Instead of relying on the passed rectangle to contain
      implicit information about the scale factor, we now
      track the scale of each backingstore geometry by making
      a snapshot of the current WebKit-thread scale when the
      geometry is generated. Once the geometry is swapped to
      the front, we can then calculate the remaining
      backingstore-to-viewport transformation in a threadsafe
      way. We now only calculate this if we actually blit from
      backingstore tiles and don't go through a configuration
      of pure accelerated compositing.
      
      As a result, we are now a lot more robust against
      synchonization issues related to backingstore
      geometry changes. As an additional gimmick, the scale
      is also stored with each tile buffer to doubly secure
      that a tile rendered in one scale is not transferred
      to a different geometry and then rendered there without
      being rerendered at the new scale, even if the rendered
      pixel coordinates are still the same.
      
      Having per-geometry scale information also opens up
      opportunities to further improve backingstore rendering
      later. For instance, we could pre-render a low-res
      version of the page onto one buffer and combine that one
      with a higher-res array of tiles covering a smaller area.
      Or we could steal some tiles from the front geometry to
      render them at a new scale while a pinch-zoom operation
      is in progress.
      
      No such thing is implemented in this patch though.
      
      In adapting/fixing the backingstore visualization
      debug mode and the default background painting in
      renderDirectToWindow(), we also introduce new
      ViewportAccessor subclasses that can subsequently
      be used to replace methods from WebPage and elsewhere.
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::slowScroll):
      (BlackBerry::WebKit::BackingStorePrivate::scroll):
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::scrollBackingStore):
      (BlackBerry::WebKit::BackingStorePrivate::renderDirectToWindow):
      (BlackBerry::WebKit::BackingStorePrivate::render):
      (BlackBerry::WebKit::BackingStorePrivate::paintDefaultBackground):
      (BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents):
      (BlackBerry::WebKit::BackingStorePrivate::blitHorizontalScrollbar):
      (BlackBerry::WebKit::BackingStorePrivate::blitVerticalScrollbar):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::updateTileMatrixIfNeeded):
      (BlackBerry::WebKit::BackingStorePrivate::orientationChanged):
      (BlackBerry::WebKit::BackingStorePrivate::createSurfaces):
      (BlackBerry::WebKit::BackingStorePrivate::invalidateWindow):
      * Api/BackingStore_p.h:
      (BlackBerry):
      (Platform):
      (BlackBerry::WebKit::BackingStoreGeometry::BackingStoreGeometry):
      (BlackBerry::WebKit::BackingStoreGeometry::scale):
      (BlackBerry::WebKit::BackingStoreGeometry::setScale):
      (BackingStoreGeometry):
      (BackingStorePrivate):
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::init):
      (BlackBerry::WebKit::WebPage::webkitThreadViewportAccessor):
      (WebKit):
      * Api/WebPage.h:
      (Platform):
      * Api/WebPageClient.h:
      (Platform):
      * Api/WebPageCompositor.cpp:
      (BlackBerry::WebKit::WebPageCompositorPrivate::animationFrameChanged):
      * Api/WebPage_p.h:
      (WebKit):
      (WebPagePrivate):
      * WebKitSupport/BackingStoreTile.cpp:
      (BlackBerry::WebKit::TileBuffer::TileBuffer):
      (BlackBerry::WebKit::TileBuffer::isRendered):
      * WebKitSupport/BackingStoreTile.h:
      (TileBuffer):
      (BlackBerry::WebKit::TileBuffer::scale):
      (BlackBerry::WebKit::TileBuffer::setScale):
      * WebKitSupport/BackingStoreVisualizationViewportAccessor.cpp: Added.
      (WebKit):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::BackingStoreVisualizationViewportAccessor):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::pixelContentsSize):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::documentContentsSize):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::pixelScrollPosition):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::documentScrollPosition):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::pixelViewportSize):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::documentViewportSize):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::destinationSurfaceOffset):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::scale):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::state):
      * WebKitSupport/BackingStoreVisualizationViewportAccessor.h: Added.
      (BlackBerry):
      (Platform):
      (WebKit):
      (BackingStoreVisualizationViewportAccessor):
      (BlackBerry::WebKit::BackingStoreVisualizationViewportAccessor::~BackingStoreVisualizationViewportAccessor):
      * WebKitSupport/WebKitThreadViewportAccessor.cpp: Added.
      (WebKit):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::WebKitThreadViewportAccessor):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelContentsSize):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::documentContentsSize):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelScrollPosition):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::documentScrollPosition):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::pixelViewportSize):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::documentViewportSize):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::destinationSurfaceOffset):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::scale):
      * WebKitSupport/WebKitThreadViewportAccessor.h: Added.
      (BlackBerry):
      (Platform):
      (WebKit):
      (WebKitThreadViewportAccessor):
      (BlackBerry::WebKit::WebKitThreadViewportAccessor::~WebKitThreadViewportAccessor):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131257 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      7d0e6131
  3. 11 Oct, 2012 3 commits
    • commit-queue@webkit.org's avatar
      [BlackBerry] Paused in Inspector, Browser doesn't exit cleanly · 766131d2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97962
      
      Patch by Peter Wang <peter.wang@torchmobile.com.cn> on 2012-10-11
      Reviewed by George Staikos.
      
      Before destroying webpage, close the inspector, so if the JSC is paused it will be resumed.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPage::destroy):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131143 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      766131d2
    • kpiascik@rim.com's avatar
      Web Inspector: node search does not work with elements on touch start listener · 0874f994
      kpiascik@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=95252
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      Added new InspectorInstrumentation::handleTouchEvent() method which
      will prevent a touch handler from firing and inspect and element if we
      are already searching for a node to highlight.
      Now when a user has chosen to inspect element (magnifying glass icon)
      and touches on a page the event will be directed to inspector and
      handled appropriately.
      
      Not testable.
      
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::handleTouchEvent):
      (WebCore):
      * inspector/InspectorDOMAgent.h:
      (InspectorDOMAgent):
      * inspector/InspectorInstrumentation.cpp:
      (WebCore):
      (WebCore::InspectorInstrumentation::handleTouchEventImpl):
      * inspector/InspectorInstrumentation.h:
      (InspectorInstrumentation):
      (WebCore::InspectorInstrumentation::handleTouchEvent):
      (WebCore):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      
      Source/WebKit/blackberry:
      
      Removed calls to InspectorInstrumentation that no didn't work anyway.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPage::touchEvent):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131083 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0874f994
    • commit-queue@webkit.org's avatar
      [Blackberry] makes NavigatorContentUtils work · 4223f0bc
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=99022
      
      Patch by Chris Guan <chris.guan@torchmobile.com.cn> on 2012-10-11
      Reviewed by Rob Buis.
      
      Source/WebKit:
      
      Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils, So we
      need add Modules/navigatorcontentutils into WebKit_INCLUDE_DIRECTORIES.
      
      * PlatformBlackBerry.cmake:
      
      Source/WebKit/blackberry:
      
      Because r126735 renamed RegisterProtocolHandler API to NavigatorContentUtils and
      r122810 added RegisterProtocolHandlerClient to the Modules/protocolhandler,
      we need sync up code:
      1. Add NavigatorContentUtilsClientBlackBerry class.
      2. use new API provideNavigatorContentUtilsTo.
      
      No new tests. Covered by existing tests.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      * WebCoreSupport/NavigatorContentUtilsClientBlackBerry.cpp: Added.
      (WebCore):
      (WebCore::NavigatorContentUtilsClientBlackBerry::NavigatorContentUtilsClientBlackBerry):
      (WebCore::NavigatorContentUtilsClientBlackBerry::registerProtocolHandler):
      (WebCore::NavigatorContentUtilsClientBlackBerry::isProtocolHandlerRegistered):
      (WebCore::NavigatorContentUtilsClientBlackBerry::unregisterProtocolHandler):
      * WebCoreSupport/NavigatorContentUtilsClientBlackBerry.h: Added.
      (WebKit):
      (NavigatorContentUtilsClientBlackBerry):
      (WebCore::NavigatorContentUtilsClientBlackBerry::~NavigatorContentUtilsClientBlackBerry):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4223f0bc
  4. 10 Oct, 2012 5 commits
    • commit-queue@webkit.org's avatar
      [BlackBerry] Fix assertion in NetworkJob::notifyChallengeResult. · 5d361657
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97397
      Internal PR: 186597.
      
      Internally reviewed by Yong Li, Joe Mason.
      Patch by Lianghui Chen <liachen@rim.com> on 2012-10-10
      Reviewed by George Staikos.
      
      Source/WebCore:
      
      Add a singleton AuthenticationChallengeManager to manage authentication
      challenge dialog. It does following things:
      Record page creation/deletion, so it knows what page is present or not.
      Record page visibility change so it knows when to display a dialog or not.
      Accept authentication challenge, and decide whether to postpone the
          challenge dialog based on whether there is active authentication challenge
          dialog already and whether its page is visible or not.
      When a challenge result comes back, notify the result to all clients
          authenticating for the same protection space, and then start the next
          authentication challenge from the same page, if there is one.
      When a page becomes visible, start the first authentication challenge
          dialog that has been blocked before.
      When an authentication challenge is requested, the NetworkJob will be
          deferred so its initial response will be saved while waiting for
          user decision on the challenge.
      
      No new tests for platform specific internal change.
      
      * PlatformBlackBerry.cmake:
      * platform/blackberry/AuthenticationChallengeManager.cpp: Added.
      (WebCore):
      (ChallengeInfo):
      (WebCore::ChallengeInfo::ChallengeInfo):
      (AuthenticationChallengeManagerPrivate):
      (WebCore::AuthenticationChallengeManagerPrivate::AuthenticationChallengeManagerPrivate):
      (WebCore::AuthenticationChallengeManagerPrivate::resumeAuthenticationChallenge):
      (WebCore::AuthenticationChallengeManagerPrivate::startAuthenticationChallenge):
      (WebCore::AuthenticationChallengeManagerPrivate::pageExists):
      (WebCore::AuthenticationChallengeManager::AuthenticationChallengeManager):
      (WebCore::AuthenticationChallengeManager::pageCreated):
      (WebCore::AuthenticationChallengeManager::pageDeleted):
      (WebCore::AuthenticationChallengeManager::pageVisibilityChanged):
      (WebCore::AuthenticationChallengeManager::authenticationChallenge):
      (WebCore::AuthenticationChallengeManager::cancelAuthenticationChallenge):
      (WebCore::AuthenticationChallengeManager::notifyChallengeResult):
      (WebCore::AuthenticationChallengeManager::instance):
      (WebCore::AuthenticationChallengeManager::init):
      * platform/blackberry/AuthenticationChallengeManager.h:
      (WebCore):
      (AuthenticationChallengeManager):
      * platform/blackberry/PageClientBlackBerry.h:
      * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.cpp:
      (WebCore::MediaPlayerPrivate::MediaPlayerPrivate):
      (WebCore::MediaPlayerPrivate::~MediaPlayerPrivate):
      (WebCore::MediaPlayerPrivate::onAuthenticationNeeded):
      (WebCore::MediaPlayerPrivate::notifyChallengeResult):
      * platform/graphics/blackberry/MediaPlayerPrivateBlackBerry.h:
      (MediaPlayerPrivate):
      * platform/network/blackberry/NetworkJob.cpp:
      (WebCore::NetworkJob::NetworkJob):
      (WebCore::NetworkJob::~NetworkJob):
      (WebCore):
      (WebCore::NetworkJob::handleNotifyStatusReceived):
      (WebCore::NetworkJob::handleNotifyClose):
      (WebCore::NetworkJob::shouldReleaseClientResource):
      (WebCore::NetworkJob::sendRequestWithCredentials):
      (WebCore::NetworkJob::notifyChallengeResult):
      * platform/network/blackberry/NetworkJob.h:
      (NetworkJob):
      
      Source/WebKit/blackberry:
      
      Update WebPage to use new AuthenticationChallengeManager.
      Register page creation/deletion and visibility change to the new
          AuthenticationChallengeManager.
      Initialize AuthenticationChallengeManager in GlobalInitialize() function.
      
      * Api/BlackBerryGlobal.cpp:
      (BlackBerry::WebKit::globalInitialize):
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::~WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::authenticationChallenge):
      (BlackBerry::WebKit::WebPage::setVisible):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@131014 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5d361657
    • commit-queue@webkit.org's avatar
      [BlackBerry] Do not perform backing store blit for animations during one-shot... · 2b2c1ef9
      commit-queue@webkit.org authored
      [BlackBerry] Do not perform backing store blit for animations during one-shot drawing synchronization
      https://bugs.webkit.org/show_bug.cgi?id=98944
      
      Patch by Andrew Lo <anlo@rim.com> on 2012-10-10
      Reviewed by Rob Buis.
      
      Internally reviewed by: Arvid Nilsson.
      Internal PR 220014
      Prevent animations from causing a backing store blit during a
      one-shot drawing synchronization.
      
      * Api/WebPageCompositor.cpp:
      (BlackBerry::WebKit::WebPageCompositorPrivate::animationFrameChanged):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130993 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2b2c1ef9
    • mifenton@rim.com's avatar
      [BlackBerry] Fix crash for detached node when validating selection change. · 8beedc83
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98926
      
      Reviewed by Rob Buis.
      
      PR 220628.
      
      Guard against detached nodes when generating selection rect.
      
      * WebKitSupport/DOMSupport.cpp:
      (BlackBerry::WebKit::DOMSupport::visibleTextQuads):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130991 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      8beedc83
    • mifenton@rim.com's avatar
      [BlackBerry] Adjust spell checking location to update after the cursor position is set. · 60a44a10
      mifenton@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98904
      
      Reviewed by Rob Buis.
      
      PR 215172.
      
      Delay calculation of caret position until it is updated on mouse release
      handling.
      
      Reviewed Internally by Nima Ghanavatian.
      
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::shouldRequestSpellCheckingOptionsForPoint):
      (BlackBerry::WebKit::InputHandler::requestSpellingCheckingOptions):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130990 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      60a44a10
    • mifenton@rim.com's avatar
      [BlackBerry] Suppress keyboard requests while processing spell checking... · 936d674a
      mifenton@rim.com authored
      [BlackBerry] Suppress keyboard requests while processing spell checking suggestions unless focus change is occurring..
      https://bugs.webkit.org/show_bug.cgi?id=98903
      
      Reviewed by Rob Buis.
      
      PR 221143.
      
      Suppress keyboard state changes when they are not triggered by
      focus changes.
      
      Reviewed Internally by Nima Ghanavatian.
      
      * WebKitSupport/InputHandler.cpp:
      (BlackBerry::WebKit::InputHandler::setElementUnfocused):
      (BlackBerry::WebKit::InputHandler::setElementFocused):
      (BlackBerry::WebKit::InputHandler::notifyClientOfKeyboardVisibilityChange):
      * WebKitSupport/InputHandler.h:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130938 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      936d674a
  5. 09 Oct, 2012 3 commits
  6. 07 Oct, 2012 1 commit
    • benjamin@webkit.org's avatar
      Rename first/second to key/value in HashMap iterators · ee554054
      benjamin@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82784
      
      Patch by Caio Marcelo de Oliveira Filho <caio.oliveira@openbossa.org> on 2012-10-07
      Reviewed by Eric Seidel.
      
      Source/JavaScriptCore: 
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::getPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::visitChildren):
      * API/JSCallbackObjectFunctions.h:
      (JSC::::getOwnNonIndexPropertyNames):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::~OpaqueJSClass):
      (OpaqueJSClassContextData::OpaqueJSClassContextData):
      (OpaqueJSClass::contextData):
      * bytecode/CodeBlock.cpp:
      (JSC::CodeBlock::dump):
      (JSC::EvalCodeCache::visitAggregate):
      (JSC::CodeBlock::nameForRegister):
      * bytecode/JumpTable.h:
      (JSC::StringJumpTable::offsetForValue):
      (JSC::StringJumpTable::ctiForValue):
      * bytecode/LazyOperandValueProfile.cpp:
      (JSC::LazyOperandValueProfileParser::getIfPresent):
      * bytecode/SamplingTool.cpp:
      (JSC::SamplingTool::dump):
      * bytecompiler/BytecodeGenerator.cpp:
      (JSC::BytecodeGenerator::addVar):
      (JSC::BytecodeGenerator::addGlobalVar):
      (JSC::BytecodeGenerator::addConstant):
      (JSC::BytecodeGenerator::addConstantValue):
      (JSC::BytecodeGenerator::emitLoad):
      (JSC::BytecodeGenerator::addStringConstant):
      (JSC::BytecodeGenerator::emitLazyNewFunction):
      * bytecompiler/NodesCodegen.cpp:
      (JSC::PropertyListNode::emitBytecode):
      * debugger/Debugger.cpp:
      * dfg/DFGArgumentsSimplificationPhase.cpp:
      (JSC::DFG::ArgumentsSimplificationPhase::run):
      (JSC::DFG::ArgumentsSimplificationPhase::observeBadArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::observeProperArgumentsUse):
      (JSC::DFG::ArgumentsSimplificationPhase::isOKToOptimize):
      (JSC::DFG::ArgumentsSimplificationPhase::removeArgumentsReferencingPhantomChild):
      * dfg/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeCache.h:
      (JSC::DFG::ByteCodeCache::~ByteCodeCache):
      (JSC::DFG::ByteCodeCache::get):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * dfg/DFGStructureCheckHoistingPhase.cpp:
      (JSC::DFG::StructureCheckHoistingPhase::run):
      (JSC::DFG::StructureCheckHoistingPhase::noticeStructureCheck):
      (JSC::DFG::StructureCheckHoistingPhase::noticeClobber):
      * heap/Heap.cpp:
      (JSC::Heap::markProtectedObjects):
      * heap/Heap.h:
      (JSC::Heap::forEachProtectedCell):
      * heap/JITStubRoutineSet.cpp:
      (JSC::JITStubRoutineSet::markSlow):
      (JSC::JITStubRoutineSet::deleteUnmarkedJettisonedStubRoutines):
      * heap/SlotVisitor.cpp:
      (JSC::SlotVisitor::internalAppend):
      * heap/Weak.h:
      (JSC::weakRemove):
      * jit/JIT.cpp:
      (JSC::JIT::privateCompile):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * profiler/Profile.cpp:
      (JSC::functionNameCountPairComparator):
      (JSC::Profile::debugPrintDataSampleStyle):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      * runtime/JSActivation.cpp:
      (JSC::JSActivation::getOwnNonIndexPropertyNames):
      (JSC::JSActivation::symbolTablePutWithAttributes):
      * runtime/JSArray.cpp:
      (JSC::JSArray::setLength):
      * runtime/JSObject.cpp:
      (JSC::JSObject::getOwnPropertySlotByIndex):
      (JSC::JSObject::enterDictionaryIndexingModeWhenArrayStorageAlreadyExists):
      (JSC::JSObject::deletePropertyByIndex):
      (JSC::JSObject::getOwnPropertyNames):
      (JSC::JSObject::defineOwnIndexedProperty):
      (JSC::JSObject::attemptToInterceptPutByIndexOnHoleForPrototype):
      (JSC::JSObject::putByIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::putDirectIndexBeyondVectorLengthWithArrayStorage):
      (JSC::JSObject::getOwnPropertyDescriptor):
      * runtime/JSSymbolTableObject.cpp:
      (JSC::JSSymbolTableObject::getOwnNonIndexPropertyNames):
      * runtime/JSSymbolTableObject.h:
      (JSC::symbolTableGet):
      (JSC::symbolTablePut):
      (JSC::symbolTablePutWithAttributes):
      * runtime/RegExpCache.cpp:
      (JSC::RegExpCache::invalidateCode):
      * runtime/SparseArrayValueMap.cpp:
      (JSC::SparseArrayValueMap::putEntry):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::SparseArrayValueMap::visitChildren):
      * runtime/WeakGCMap.h:
      (JSC::WeakGCMap::clear):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      (JSC::ProfileTreeNode::childCount):
      (JSC::ProfileTreeNode::dumpInternal):
      (JSC::ProfileTreeNode::compareEntries):
      
      Source/WebCore: 
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::Watchers::find):
      (WebCore::Geolocation::Watchers::remove):
      * Modules/indexeddb/IDBDatabase.cpp:
      (WebCore::IDBDatabase::objectStoreNames):
      * Modules/indexeddb/IDBDatabaseBackendImpl.cpp:
      (WebCore::IDBDatabaseBackendImpl::metadata):
      * Modules/indexeddb/IDBFactoryBackendImpl.cpp:
      (WebCore::IDBFactoryBackendImpl::deleteDatabase):
      (WebCore::IDBFactoryBackendImpl::openBackingStore):
      (WebCore::IDBFactoryBackendImpl::open):
      * Modules/indexeddb/IDBObjectStore.cpp:
      (WebCore::IDBObjectStore::indexNames):
      (WebCore::IDBObjectStore::put):
      (WebCore::IDBObjectStore::index):
      (WebCore::IDBObjectStore::deleteIndex):
      * Modules/indexeddb/IDBObjectStoreBackendImpl.cpp:
      (WebCore::IDBObjectStoreBackendImpl::metadata):
      (WebCore::makeIndexWriters):
      (WebCore::IDBObjectStoreBackendImpl::deleteInternal):
      * Modules/indexeddb/IDBTransaction.cpp:
      (WebCore::IDBTransaction::objectStore):
      (WebCore::IDBTransaction::objectStoreDeleted):
      (WebCore::IDBTransaction::onAbort):
      (WebCore::IDBTransaction::dispatchEvent):
      * Modules/mediastream/MediaConstraintsImpl.cpp:
      (WebCore::MediaConstraintsImpl::getMandatoryConstraints):
      (WebCore::MediaConstraintsImpl::getMandatoryConstraintValue):
      * Modules/webdatabase/AbstractDatabase.cpp:
      (WebCore::AbstractDatabase::performOpenAndVerify):
      * Modules/webdatabase/DatabaseTracker.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/OriginUsageRecord.cpp:
      (WebCore::OriginUsageRecord::diskUsage):
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      (WebCore::SQLTransactionCoordinator::releaseLock):
      (WebCore::SQLTransactionCoordinator::shutdown):
      * Modules/webdatabase/chromium/DatabaseTrackerChromium.cpp:
      (WebCore::DatabaseTracker::interruptAllDatabasesForContext):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::getDatabaseSizeAndSpaceAvailableToOrigin):
      (WebCore::QuotaTracker::updateDatabaseSize):
      * Modules/websockets/WebSocketDeflateFramer.cpp:
      (WebCore::WebSocketExtensionDeflateFrame::processResponse):
      * Modules/websockets/WebSocketExtensionDispatcher.cpp:
      (WebCore::WebSocketExtensionDispatcher::appendAcceptedExtension):
      * accessibility/AXObjectCache.cpp:
      (WebCore::AXObjectCache::~AXObjectCache):
      * bindings/gobject/DOMObjectCache.cpp:
      (WebKit::DOMObjectCache::clearByFrame):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::~DOMObjectHashTableMap):
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMGlobalObject.cpp:
      (WebCore::JSDOMGlobalObject::visitChildren):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      (WebCore::PageScriptDebugServer::removeListener):
      * bindings/js/ScriptCachedFrameData.cpp:
      (WebCore::ScriptCachedFrameData::ScriptCachedFrameData):
      (WebCore::ScriptCachedFrameData::restore):
      * bindings/js/ScriptController.cpp:
      (WebCore::ScriptController::~ScriptController):
      (WebCore::ScriptController::clearWindowShell):
      (WebCore::ScriptController::attachDebugger):
      (WebCore::ScriptController::updateDocument):
      (WebCore::ScriptController::createRootObject):
      (WebCore::ScriptController::collectIsolatedContexts):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::clearScriptObjects):
      * bindings/js/ScriptController.h:
      (WebCore::ScriptController::windowShell):
      (WebCore::ScriptController::existingWindowShell):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      (WebCore::ScriptDebugServer::removeBreakpoint):
      (WebCore::ScriptDebugServer::hasBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::checkForDuplicate):
      (WebCore::CloneSerializer::dumpIfTerminal):
      (WebCore::CloneSerializer::write):
      * bindings/scripts/CodeGeneratorV8.pm:
      (GenerateImplementation):
      * bindings/scripts/test/V8/V8Float64Array.cpp:
      (WebCore::V8Float64Array::GetRawTemplate):
      (WebCore::V8Float64Array::GetTemplate):
      * bindings/scripts/test/V8/V8TestActiveDOMObject.cpp:
      (WebCore::V8TestActiveDOMObject::GetRawTemplate):
      (WebCore::V8TestActiveDOMObject::GetTemplate):
      * bindings/scripts/test/V8/V8TestCustomNamedGetter.cpp:
      (WebCore::V8TestCustomNamedGetter::GetRawTemplate):
      (WebCore::V8TestCustomNamedGetter::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventConstructor.cpp:
      (WebCore::V8TestEventConstructor::GetRawTemplate):
      (WebCore::V8TestEventConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestEventTarget.cpp:
      (WebCore::V8TestEventTarget::GetRawTemplate):
      (WebCore::V8TestEventTarget::GetTemplate):
      * bindings/scripts/test/V8/V8TestException.cpp:
      (WebCore::V8TestException::GetRawTemplate):
      (WebCore::V8TestException::GetTemplate):
      * bindings/scripts/test/V8/V8TestInterface.cpp:
      (WebCore::V8TestInterface::GetRawTemplate):
      (WebCore::V8TestInterface::GetTemplate):
      * bindings/scripts/test/V8/V8TestMediaQueryListListener.cpp:
      (WebCore::V8TestMediaQueryListListener::GetRawTemplate):
      (WebCore::V8TestMediaQueryListListener::GetTemplate):
      * bindings/scripts/test/V8/V8TestNamedConstructor.cpp:
      (WebCore::V8TestNamedConstructor::GetRawTemplate):
      (WebCore::V8TestNamedConstructor::GetTemplate):
      * bindings/scripts/test/V8/V8TestNode.cpp:
      (WebCore::V8TestNode::GetRawTemplate):
      (WebCore::V8TestNode::GetTemplate):
      * bindings/scripts/test/V8/V8TestObj.cpp:
      (WebCore::V8TestObj::GetRawTemplate):
      (WebCore::V8TestObj::GetTemplate):
      * bindings/scripts/test/V8/V8TestSerializedScriptValueInterface.cpp:
      (WebCore::V8TestSerializedScriptValueInterface::GetRawTemplate):
      (WebCore::V8TestSerializedScriptValueInterface::GetTemplate):
      * bindings/v8/DOMWrapperWorld.cpp:
      (WebCore::DOMWrapperWorld::deallocate):
      (WebCore::DOMWrapperWorld::ensureIsolatedWorld):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::freeV8NPObject):
      (WebCore::npCreateV8ScriptObject):
      * bindings/v8/ScriptController.cpp:
      (WebCore::ScriptController::clearScriptObjects):
      (WebCore::ScriptController::resetIsolatedWorlds):
      (WebCore::ScriptController::ensureIsolatedWorldContext):
      (WebCore::ScriptController::existingWindowShellInternal):
      (WebCore::ScriptController::evaluateInIsolatedWorld):
      (WebCore::ScriptController::setIsolatedWorldSecurityOrigin):
      (WebCore::ScriptController::cleanupScriptObjectsForPlugin):
      (WebCore::ScriptController::collectIsolatedContexts):
      * bindings/v8/SerializedScriptValue.cpp:
      * bindings/v8/V8DOMMap.h:
      (WebCore::WeakReferenceMap::removeIfPresent):
      (WebCore::WeakReferenceMap::visit):
      * bindings/v8/V8PerContextData.cpp:
      (WebCore::V8PerContextData::dispose):
      * bindings/v8/npruntime.cpp:
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      (ObjectMap::remove):
      * bridge/runtime_root.cpp:
      (JSC::Bindings::RootObject::invalidate):
      * css/CSSCanvasValue.cpp:
      (WebCore::CSSCanvasValue::canvasChanged):
      (WebCore::CSSCanvasValue::canvasResized):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::counterToCSSValue):
      * css/CSSCrossfadeValue.cpp:
      (WebCore::CSSCrossfadeValue::crossfadeChanged):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSImageGeneratorValue.cpp:
      (WebCore::CSSImageGeneratorValue::addClient):
      (WebCore::CSSImageGeneratorValue::removeClient):
      (WebCore::CSSImageGeneratorValue::getImage):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSSelector.cpp:
      (WebCore::CSSSelector::parsePseudoType):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * css/PropertySetCSSStyleDeclaration.cpp:
      (WebCore::PropertySetCSSStyleDeclaration::cloneAndCacheForCSSOM):
      * css/RuleSet.cpp:
      (WebCore::reportAtomRuleMap):
      (WebCore::RuleSet::addToRuleSet):
      (WebCore::shrinkMapVectorsToFit):
      * css/StyleBuilder.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/StyleResolver.cpp:
      (WebCore::StyleResolver::collectFeatures):
      (WebCore::StyleResolver::ruleSetForScope):
      (WebCore::StyleResolver::appendAuthorStylesheets):
      (WebCore::StyleResolver::sweepMatchedPropertiesCache):
      (WebCore::StyleResolver::collectMatchingRulesForList):
      * css/StyleSheetContents.cpp:
      (WebCore::StyleSheetContents::parserAddNamespace):
      (WebCore::StyleSheetContents::determineNamespace):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::CheckedRadioButtons::addButton):
      (WebCore::CheckedRadioButtons::removeButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationAccumulator::getOrCreate):
      * dom/Document.cpp:
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      (WebCore::Document::cachedImmutableAttributeData):
      (WebCore::Document::getCachedLocalizer):
      * dom/DocumentMarkerController.cpp:
      (WebCore::DocumentMarkerController::markerContainingPoint):
      (WebCore::DocumentMarkerController::renderedRectsForMarkers):
      (WebCore::DocumentMarkerController::removeMarkers):
      (WebCore::DocumentMarkerController::repaintMarkers):
      (WebCore::DocumentMarkerController::invalidateRenderedRectsForMarkersInRect):
      (WebCore::DocumentMarkerController::showMarkers):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::remove):
      * dom/DocumentStyleSheetCollection.cpp:
      (WebCore::DocumentStyleSheetCollection::pageGroupUserSheets):
      * dom/ElementAttributeData.cpp:
      (WebCore::ensureAttrListForElement):
      * dom/EventDispatcher.cpp:
      (WebCore::EventRelatedTargetAdjuster::findRelatedTarget):
      * dom/IdTargetObserverRegistry.cpp:
      (WebCore::IdTargetObserverRegistry::addObserver):
      (WebCore::IdTargetObserverRegistry::removeObserver):
      * dom/MutationObserverInterestGroup.cpp:
      (WebCore::MutationObserverInterestGroup::isOldValueRequested):
      (WebCore::MutationObserverInterestGroup::enqueueMutationRecord):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::clearRareData):
      (WebCore::NodeListsNodeData::invalidateCaches):
      (WebCore::collectMatchingObserversForMutation):
      * dom/NodeRareData.h:
      (WebCore::NodeListsNodeData::addCacheWithAtomicName):
      (WebCore::NodeListsNodeData::addCacheWithName):
      (WebCore::NodeListsNodeData::addCacheWithQualifiedName):
      (WebCore::NodeListsNodeData::adoptTreeScope):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::checkStyleSheet):
      * dom/ScriptExecutionContext.cpp:
      (WebCore::ScriptExecutionContext::canSuspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::suspendActiveDOMObjects):
      (WebCore::ScriptExecutionContext::resumeActiveDOMObjects):
      (WebCore::ScriptExecutionContext::stopActiveDOMObjects):
      (WebCore::ScriptExecutionContext::adjustMinimumTimerInterval):
      * dom/SelectorQuery.cpp:
      (WebCore::SelectorQueryCache::add):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * editing/mac/AlternativeTextUIController.mm:
      (WebCore::AlternativeTextUIController::AlernativeTextContextController::alternativesForContext):
      * html/FormController.cpp:
      (WebCore::SavedFormState::serializeTo):
      (WebCore::SavedFormState::appendControlState):
      (WebCore::SavedFormState::takeControlState):
      (WebCore::SavedFormState::getReferencedFilePaths):
      (WebCore::FormKeyGenerator::formKey):
      (WebCore::FormController::createSavedFormStateMap):
      (WebCore::FormController::formElementsState):
      (WebCore::FormController::takeStateForFormElement):
      (WebCore::FormController::getReferencedFilePaths):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollectionCacheBase::append):
      * html/canvas/WebGLFramebuffer.cpp:
      (WebCore::WebGLFramebuffer::getAttachment):
      (WebCore::WebGLFramebuffer::removeAttachmentFromBoundFramebuffer):
      (WebCore::WebGLFramebuffer::checkStatus):
      (WebCore::WebGLFramebuffer::deleteObjectImpl):
      (WebCore::WebGLFramebuffer::initializeAttachments):
      * inspector/CodeGeneratorInspector.py:
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      (WebCore::DOMPatchSupport::innerPatchChildren):
      (WebCore::DOMPatchSupport::removeChildAndMoveToNew):
      * inspector/InjectedScriptManager.cpp:
      (WebCore::InjectedScriptManager::injectedScriptForId):
      (WebCore::InjectedScriptManager::injectedScriptIdFor):
      (WebCore::InjectedScriptManager::discardInjectedScriptsFor):
      (WebCore::InjectedScriptManager::releaseObjectGroup):
      (WebCore::InjectedScriptManager::injectedScriptFor):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      (WebCore::SelectorProfile::commitSelectorTime):
      (WebCore::SelectorProfile::toInspectorObject):
      (WebCore::UpdateRegionLayoutTask::onTimer):
      (WebCore::InspectorCSSAgent::forcePseudoState):
      (WebCore::InspectorCSSAgent::asInspectorStyleSheet):
      (WebCore::InspectorCSSAgent::assertStyleSheetForId):
      (WebCore::InspectorCSSAgent::didRemoveDOMNode):
      (WebCore::InspectorCSSAgent::didModifyDOMAttr):
      (WebCore::InspectorCSSAgent::resetPseudoStates):
      * inspector/InspectorConsoleAgent.cpp:
      (WebCore::InspectorConsoleAgent::stopTiming):
      (WebCore::InspectorConsoleAgent::count):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::nodeForId):
      (WebCore::InspectorDOMAgent::performSearch):
      (WebCore::InspectorDOMAgent::getSearchResults):
      * inspector/InspectorDOMDebuggerAgent.cpp:
      (WebCore::InspectorDOMDebuggerAgent::willSendXMLHttpRequest):
      * inspector/InspectorDOMStorageAgent.cpp:
      (WebCore::InspectorDOMStorageAgent::clearFrontend):
      (WebCore::InspectorDOMStorageAgent::enable):
      (WebCore::InspectorDOMStorageAgent::storageId):
      (WebCore::InspectorDOMStorageAgent::getDOMStorageResourceForId):
      (WebCore::InspectorDOMStorageAgent::didUseDOMStorage):
      (WebCore::InspectorDOMStorageAgent::memoryBytesUsedByStorageCache):
      * inspector/InspectorDatabaseAgent.cpp:
      (WebCore::InspectorDatabaseAgent::enable):
      (WebCore::InspectorDatabaseAgent::databaseId):
      (WebCore::InspectorDatabaseAgent::findByFileName):
      (WebCore::InspectorDatabaseAgent::databaseForId):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::setBreakpointByUrl):
      (WebCore::InspectorDebuggerAgent::removeBreakpoint):
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      (WebCore::InspectorDebuggerAgent::searchInContent):
      (WebCore::InspectorDebuggerAgent::getScriptSource):
      (WebCore::InspectorDebuggerAgent::didParseSource):
      * inspector/InspectorIndexedDBAgent.cpp:
      (WebCore):
      * inspector/InspectorMemoryAgent.cpp:
      (WebCore):
      * inspector/InspectorPageAgent.cpp:
      (WebCore::cachedResourcesForFrame):
      (WebCore::InspectorPageAgent::didClearWindowObjectInWorld):
      (WebCore::InspectorPageAgent::frameDetached):
      * inspector/InspectorProfilerAgent.cpp:
      (WebCore::InspectorProfilerAgent::getProfileHeaders):
      (WebCore):
      (WebCore::InspectorProfilerAgent::getProfile):
      * inspector/InspectorResourceAgent.cpp:
      (WebCore::buildObjectForHeaders):
      (WebCore::InspectorResourceAgent::willSendRequest):
      (WebCore::InspectorResourceAgent::documentThreadableLoaderStartedLoadingForClient):
      (WebCore::InspectorResourceAgent::willLoadXHR):
      (WebCore::InspectorResourceAgent::replayXHR):
      * inspector/InspectorState.cpp:
      (WebCore::InspectorState::getBoolean):
      (WebCore::InspectorState::getString):
      (WebCore::InspectorState::getLong):
      (WebCore::InspectorState::getDouble):
      (WebCore::InspectorState::getObject):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyle::styleWithProperties):
      (WebCore::InspectorStyleSheet::inspectorStyleForId):
      * inspector/InspectorValues.cpp:
      (WebCore::InspectorObjectBase::get):
      (WebCore::InspectorObjectBase::writeJSON):
      * inspector/InspectorWorkerAgent.cpp:
      (WebCore::InspectorWorkerAgent::workerContextTerminated):
      (WebCore::InspectorWorkerAgent::createWorkerFrontendChannelsForExistingWorkers):
      (WebCore::InspectorWorkerAgent::destroyWorkerFrontendChannels):
      * inspector/MemoryInstrumentationImpl.cpp:
      (WebCore::MemoryInstrumentationClientImpl::countObjectSize):
      * inspector/MemoryInstrumentationImpl.h:
      (WebCore::MemoryInstrumentationClientImpl::totalSize):
      (WebCore::MemoryInstrumentationClientImpl::reportedSizeForAllTypes):
      * inspector/NetworkResourcesData.cpp:
      (WebCore::NetworkResourcesData::setXHRReplayData):
      (WebCore::NetworkResourcesData::removeCachedResource):
      (WebCore::NetworkResourcesData::clear):
      * loader/CrossOriginAccessControl.cpp:
      (WebCore::isSimpleCrossOriginAccessRequest):
      (WebCore::createAccessControlPreflightRequest):
      * loader/CrossOriginPreflightResultCache.cpp:
      (WebCore::CrossOriginPreflightResultCacheItem::allowsCrossOriginHeaders):
      (WebCore::CrossOriginPreflightResultCache::canSkipPreflight):
      * loader/DocumentLoader.cpp:
      (WebCore::DocumentLoader::getSubresources):
      (WebCore::DocumentLoader::substituteResourceDeliveryTimerFired):
      * loader/MainResourceLoader.cpp:
      (WebCore::MainResourceLoader::didReceiveResponse):
      * loader/ResourceLoadScheduler.cpp:
      (WebCore::ResourceLoadScheduler::servePendingRequests):
      * loader/appcache/ApplicationCache.cpp:
      (WebCore::ApplicationCache::removeResource):
      (WebCore::ApplicationCache::clearStorageID):
      (WebCore::ApplicationCache::dump):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::didFinishLoadingManifest):
      (WebCore::ApplicationCacheGroup::startLoadingEntry):
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheHost.cpp:
      (WebCore::ApplicationCacheHost::fillResourceList):
      * loader/appcache/ApplicationCacheResource.cpp:
      (WebCore::ApplicationCacheResource::estimatedSizeInStorage):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      (WebCore::ApplicationCacheStorage::cacheGroupForURL):
      (WebCore::ApplicationCacheStorage::fallbackCacheGroupForURL):
      (WebCore::ApplicationCacheStorage::store):
      (WebCore::ApplicationCacheStorage::empty):
      (WebCore::ApplicationCacheStorage::storeCopyOfCache):
      * loader/archive/ArchiveFactory.cpp:
      (WebCore::ArchiveFactory::registerKnownArchiveMIMETypes):
      * loader/cache/CachedRawResource.cpp:
      (WebCore::CachedRawResource::canReuse):
      * loader/cache/CachedResource.cpp:
      (WebCore::CachedResource::switchClientsToRevalidatedResource):
      (WebCore::CachedResource::updateResponseAfterRevalidation):
      * loader/cache/CachedResourceClientWalker.h:
      (WebCore::CachedResourceClientWalker::CachedResourceClientWalker):
      * loader/cache/CachedResourceLoader.cpp:
      (WebCore::CachedResourceLoader::~CachedResourceLoader):
      (WebCore::CachedResourceLoader::requestResource):
      (WebCore::CachedResourceLoader::reloadImagesIfNotDeferred):
      (WebCore::CachedResourceLoader::removeCachedResource):
      (WebCore::CachedResourceLoader::garbageCollectDocumentResources):
      * loader/cache/MemoryCache.cpp:
      (WebCore::MemoryCache::removeResourcesWithOrigin):
      (WebCore::MemoryCache::getOriginsWithCache):
      (WebCore::MemoryCache::getStatistics):
      (WebCore::MemoryCache::setDisabled):
      * loader/icon/IconDatabase.cpp:
      (WebCore::IconDatabase::removeAllIcons):
      (WebCore::IconDatabase::iconRecordCountWithData):
      (WebCore::IconDatabase::performPendingRetainAndReleaseOperations):
      * page/DOMWindow.cpp:
      (WebCore::DOMWindow::dispatchAllPendingBeforeUnloadEvents):
      (WebCore::DOMWindow::dispatchAllPendingUnloadEvents):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/Frame.cpp:
      (WebCore::Frame::injectUserScripts):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::closeLocalStorage):
      (WebCore::PageGroup::clearLocalStorageForAllOrigins):
      (WebCore::PageGroup::clearLocalStorageForOrigin):
      (WebCore::PageGroup::syncLocalStorage):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      (WebCore::PageGroup::removeUserScriptFromWorld):
      (WebCore::PageGroup::removeUserStyleSheetFromWorld):
      * page/PageSerializer.cpp:
      (WebCore::PageSerializer::urlForBlankFrame):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      (WebCore::SecurityPolicy::removeOriginAccessWhitelistEntry):
      * page/Settings.cpp:
      (WebCore::setGenericFontFamilyMap):
      (WebCore::getGenericFontFamilyForScript):
      * page/SpeechInput.cpp:
      (WebCore::SpeechInput::registerListener):
      * page/TouchDisambiguation.cpp:
      (WebCore::findGoodTouchTargets):
      * page/WindowFeatures.cpp:
      (WebCore::WindowFeatures::boolFeature):
      (WebCore::WindowFeatures::floatFeature):
      * page/animation/AnimationController.cpp:
      (WebCore::AnimationControllerPrivate::updateAnimations):
      (WebCore::AnimationControllerPrivate::suspendAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::resumeAnimationsForDocument):
      (WebCore::AnimationControllerPrivate::numberOfActiveAnimations):
      * page/animation/CompositeAnimation.cpp:
      (WebCore::CompositeAnimation::clearRenderer):
      (WebCore::CompositeAnimation::updateTransitions):
      (WebCore::CompositeAnimation::updateKeyframeAnimations):
      (WebCore::CompositeAnimation::animate):
      (WebCore::CompositeAnimation::getAnimatedStyle):
      (WebCore::CompositeAnimation::setAnimating):
      (WebCore::CompositeAnimation::timeToNextService):
      (WebCore::CompositeAnimation::getAnimationForProperty):
      (WebCore::CompositeAnimation::suspendAnimations):
      (WebCore::CompositeAnimation::resumeAnimations):
      (WebCore::CompositeAnimation::overrideImplicitAnimations):
      (WebCore::CompositeAnimation::resumeOverriddenImplicitAnimations):
      (WebCore::CompositeAnimation::isAnimatingProperty):
      (WebCore::CompositeAnimation::numberOfActiveAnimations):
      * platform/Language.cpp:
      (WebCore::languageDidChange):
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::getNormalizedMIMEType):
      * platform/audio/HRTFElevation.cpp:
      (WebCore::getConcatenatedImpulseResponsesForSubject):
      * platform/blackberry/CookieManager.cpp:
      (WebCore::CookieManager::generateHtmlFragmentForCookies):
      (WebCore::CookieManager::removeAllCookies):
      * platform/blackberry/CookieMap.cpp:
      (WebCore::CookieMap::removeOldestCookie):
      (WebCore::CookieMap::getAllChildCookies):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/chromium/support/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * platform/chromium/support/WebURLRequest.cpp:
      (WebKit::WebURLRequest::visitHTTPHeaderFields):
      * platform/chromium/support/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      (WebKit::WebURLResponse::visitHTTPHeaderFields):
      * platform/graphics/DisplayRefreshMonitor.cpp:
      (WebCore::DisplayRefreshMonitorManager::ensureMonitorForClient):
      (WebCore::DisplayRefreshMonitorManager::unregisterClient):
      * platform/graphics/FontCache.cpp:
      (WebCore::FontCache::getCachedFontPlatformData):
      (WebCore::FontCache::getVerticalData):
      (WebCore::FontCache::getCachedFontData):
      (WebCore::FontCache::releaseFontData):
      (WebCore::FontCache::purgeInactiveFontData):
      * platform/graphics/GlyphPageTreeNode.cpp:
      (WebCore::GlyphPageTreeNode::treeGlyphPageCount):
      (WebCore::GlyphPageTreeNode::pageCount):
      (WebCore::GlyphPageTreeNode::pruneTreeCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneTreeFontData):
      (WebCore::GlyphPageTreeNode::pruneCustomFontData):
      (WebCore::GlyphPageTreeNode::pruneFontData):
      (WebCore::GlyphPageTreeNode::showSubtree):
      (showGlyphPageTrees):
      * platform/graphics/TiledBackingStore.cpp:
      (WebCore::TiledBackingStore::updateTileBuffers):
      (WebCore::TiledBackingStore::resizeEdgeTiles):
      (WebCore::TiledBackingStore::setKeepRect):
      * platform/graphics/avfoundation/cf/MediaPlayerPrivateAVFoundationCF.cpp:
      (WebCore::AVFWrapper::avfWrapperForCallbackContext):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::layerVisibilityChanged):
      (WebCore::LayerTiler::uploadTexturesIfNeeded):
      (WebCore::LayerTiler::addTileJob):
      (WebCore::LayerTiler::deleteTextures):
      (WebCore::LayerTiler::pruneTextures):
      (WebCore::LayerTiler::bindContentsTexture):
      * platform/graphics/blackberry/TextureCacheCompositingThread.cpp:
      (WebCore::TextureCacheCompositingThread::textureForTiledContents):
      (WebCore::TextureCacheCompositingThread::textureForColor):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::moveOrCopyAnimations):
      (WebCore::GraphicsLayerCA::pauseAnimation):
      (WebCore::GraphicsLayerCA::layerDidDisplay):
      (WebCore::GraphicsLayerCA::updateGeometry):
      (WebCore::GraphicsLayerCA::updateTransform):
      (WebCore::GraphicsLayerCA::updateChildrenTransform):
      (WebCore::GraphicsLayerCA::updateMasksToBounds):
      (WebCore::GraphicsLayerCA::updateContentsVisibility):
      (WebCore::GraphicsLayerCA::updateContentsOpaque):
      (WebCore::GraphicsLayerCA::updateBackfaceVisibility):
      (WebCore::GraphicsLayerCA::updateFilters):
      (WebCore::GraphicsLayerCA::ensureStructuralLayer):
      (WebCore::GraphicsLayerCA::updateLayerDrawsContent):
      (WebCore::GraphicsLayerCA::updateContentsImage):
      (WebCore::GraphicsLayerCA::updateContentsRect):
      (WebCore::GraphicsLayerCA::updateMaskLayer):
      (WebCore::GraphicsLayerCA::updateLayerAnimations):
      (WebCore::GraphicsLayerCA::setAnimationOnLayer):
      (WebCore::GraphicsLayerCA::removeCAAnimationFromLayer):
      (WebCore::GraphicsLayerCA::pauseCAAnimationOnLayer):
      (WebCore::GraphicsLayerCA::suspendAnimations):
      (WebCore::GraphicsLayerCA::resumeAnimations):
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      (WebCore::GraphicsLayerCA::setOpacityInternal):
      (WebCore::GraphicsLayerCA::updateOpacityOnLayer):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::~TileCache):
      (WebCore::TileCache::setNeedsDisplay):
      (WebCore::TileCache::setScale):
      (WebCore::TileCache::setAcceleratesDrawing):
      (WebCore::TileCache::setTileDebugBorderWidth):
      (WebCore::TileCache::setTileDebugBorderColor):
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/PlatformCALayerWin.cpp:
      (PlatformCALayer::animationStarted):
      (resubmitAllAnimations):
      (PlatformCALayer::animationForKey):
      * platform/graphics/chromium/FontCacheChromiumWin.cpp:
      (WebCore::LookupAltName):
      (WebCore::fontContainsCharacter):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/filters/CustomFilterGlobalContext.cpp:
      (WebCore::CustomFilterGlobalContext::~CustomFilterGlobalContext):
      (WebCore::CustomFilterGlobalContext::getValidatedProgram):
      (WebCore::CustomFilterGlobalContext::removeValidatedProgram):
      * platform/graphics/filters/CustomFilterProgram.cpp:
      (WebCore::CustomFilterProgram::notifyClients):
      * platform/graphics/harfbuzz/HarfBuzzSkia.cpp:
      (WebCore::getCachedHarfbuzzFace):
      (WebCore::releaseCachedHarfbuzzFace):
      * platform/graphics/harfbuzz/ng/HarfBuzzNGFace.cpp:
      (WebCore::HarfBuzzNGFace::HarfBuzzNGFace):
      (WebCore::HarfBuzzNGFace::~HarfBuzzNGFace):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/opengl/Extensions3DOpenGLCommon.cpp:
      (WebCore::Extensions3DOpenGLCommon::getTranslatedShaderSourceANGLE):
      * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp:
      (WebCore::GraphicsContext3D::compileShader):
      (WebCore::GraphicsContext3D::mappedSymbolName):
      (WebCore::GraphicsContext3D::getShaderiv):
      (WebCore::GraphicsContext3D::getShaderInfoLog):
      (WebCore::GraphicsContext3D::getShaderSource):
      * platform/graphics/openvg/EGLDisplayOpenVG.cpp:
      (WebCore::EGLDisplayOpenVG::~EGLDisplayOpenVG):
      (WebCore::EGLDisplayOpenVG::destroySurface):
      (WebCore::EGLDisplayOpenVG::contextForSurface):
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (WebCore::TextureMapperGLData::SharedGLData::currentSharedGLData):
      (WebCore::TextureMapperGLData::SharedGLData::~SharedGLData):
      * platform/graphics/texmap/TextureMapperShaderManager.cpp:
      (WebCore::TextureMapperShaderManager::getShaderProgram):
      (WebCore::TextureMapperShaderManager::getShaderForFilter):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/DataObjectGtk.cpp:
      (WebCore::DataObjectGtk::forClipboard):
      * platform/gtk/GtkDragAndDropHelper.cpp:
      (WebCore::GtkDragAndDropHelper::handleGetDragData):
      (WebCore::GtkDragAndDropHelper::handleDragLeave):
      (WebCore::GtkDragAndDropHelper::handleDragMotion):
      (WebCore::GtkDragAndDropHelper::handleDragDataReceived):
      (WebCore::GtkDragAndDropHelper::handleDragDrop):
      * platform/gtk/RedirectedXCompositeWindow.cpp:
      (WebCore::filterXDamageEvent):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::gtkStyleChangedCallback):
      (WebCore::getStyleContext):
      * platform/mac/ScrollbarThemeMac.mm:
      (+[WebScrollbarPrefsObserver appearancePrefsChanged:]):
      * platform/network/CredentialStorage.cpp:
      (WebCore::CredentialStorage::set):
      (WebCore::CredentialStorage::get):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::copyData):
      (WebCore::HTTPHeaderMap::get):
      * platform/network/MIMEHeader.cpp:
      (WebCore::MIMEHeader::parseHeader):
      * platform/network/ResourceHandle.cpp:
      (WebCore::ResourceHandle::create):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      (WebCore::ResourceRequestBase::addHTTPHeaderFields):
      * platform/network/blackberry/ResourceRequestBlackBerry.cpp:
      (WebCore::ResourceRequest::targetTypeFromMimeType):
      (WebCore::ResourceRequest::initializePlatformRequest):
      * platform/network/cf/ResourceHandleCFNet.cpp:
      (WebCore::makeFinalRequest):
      * platform/network/cf/ResourceRequestCFNet.cpp:
      (WebCore::setHeaderFields):
      * platform/network/curl/ResourceHandleManager.cpp:
      (WebCore::ResourceHandleManager::initializeHandle):
      * platform/network/mac/ResourceRequestMac.mm:
      (WebCore::ResourceRequest::doUpdatePlatformRequest):
      * platform/network/qt/ResourceRequestQt.cpp:
      (WebCore::ResourceRequest::toNetworkRequest):
      * platform/network/soup/ResourceHandleSoup.cpp:
      (WebCore::sendRequestCallback):
      (WebCore::ResourceHandle::setClientCertificate):
      * platform/network/soup/ResourceRequestSoup.cpp:
      (WebCore::ResourceRequest::updateSoupMessage):
      (WebCore::ResourceRequest::toSoupMessage):
      * platform/network/soup/ResourceResponseSoup.cpp:
      (WebCore::ResourceResponse::toSoupMessage):
      * platform/network/win/ResourceHandleWin.cpp:
      (WebCore::ResourceHandle::start):
      * platform/qt/RunLoopQt.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/text/LocaleToScriptMappingDefault.cpp:
      (WebCore::scriptNameToCode):
      (WebCore::localeToScriptCodeForFontSelection):
      * platform/text/TextEncodingRegistry.cpp:
      (WebCore::pruneBlacklistedCodecs):
      (WebCore::dumpTextEncodingNameMap):
      * platform/text/transcoder/FontTranscoder.cpp:
      (WebCore::FontTranscoder::converterType):
      * platform/text/win/TextCodecWin.cpp:
      (WebCore::LanguageManager::LanguageManager):
      (WebCore::getCodePage):
      (WebCore::TextCodecWin::registerExtendedEncodingNames):
      (WebCore::TextCodecWin::registerExtendedCodecs):
      (WebCore::TextCodecWin::enumerateSupportedEncodings):
      * platform/win/ClipboardUtilitiesWin.cpp:
      (WebCore::getDataMapItem):
      (WebCore::getClipboardData):
      (WebCore::setClipboardData):
      * platform/win/ClipboardWin.cpp:
      (WebCore::ClipboardWin::types):
      * platform/win/FileSystemWin.cpp:
      (WebCore::cachedStorageDirectory):
      * platform/win/RunLoopWin.cpp:
      (WebCore::RunLoop::TimerBase::timerFired):
      * platform/win/WCDataObject.cpp:
      (WebCore::WCDataObject::createInstance):
      * platform/wince/MIMETypeRegistryWinCE.cpp:
      (WebCore::MIMETypeRegistry::getPreferredExtensionForMIMEType):
      * platform/wx/ContextMenuWx.cpp:
      (WebCore::ContextMenu::appendItem):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::refresh):
      (WebCore::PluginDatabase::MIMETypeForExtension):
      (WebCore::PluginDatabase::remove):
      * plugins/PluginMainThreadScheduler.cpp:
      (WebCore::PluginMainThreadScheduler::scheduleCall):
      (WebCore::PluginMainThreadScheduler::dispatchCalls):
      * plugins/PluginStream.cpp:
      (WebCore::PluginStream::startStream):
      * plugins/blackberry/PluginDataBlackBerry.cpp:
      (WebCore::PluginData::initPlugins):
      * plugins/wx/PluginDataWx.cpp:
      (WebCore::PluginData::initPlugins):
      * rendering/ExclusionShapeInsideInfo.cpp:
      (WebCore::ExclusionShapeInsideInfo::ensureExclusionShapeInsideInfoForRenderBlock):
      * rendering/FlowThreadController.cpp:
      (WebCore::FlowThreadController::unregisterNamedFlowContentNode):
      * rendering/InlineFlowBox.cpp:
      (WebCore::InlineFlowBox::requiresIdeographicBaseline):
      (WebCore::InlineFlowBox::addTextBoxVisualOverflow):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::clearFloats):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderBoxModelObject.cpp:
      (WebCore::ImageQualityController::highQualityRepaintTimerFired):
      (WebCore::ImageQualityController::shouldPaintAtLowQuality):
      * rendering/RenderCounter.cpp:
      (WebCore::RenderCounter::destroyCounterNodes):
      (WebCore::RenderCounter::destroyCounterNode):
      (WebCore::updateCounters):
      (WebCore::RenderCounter::rendererStyleChanged):
      * rendering/RenderFlowThread.cpp:
      (WebCore::RenderFlowThread::setRegionRangeForBox):
      (WebCore::RenderFlowThread::getRegionRangeForBox):
      * rendering/RenderLayer.cpp:
      (WebCore::RenderLayer::paint):
      (WebCore::performOverlapTests):
      * rendering/RenderLayerFilterInfo.cpp:
      (WebCore::RenderLayerFilterInfo::filterInfoForRenderLayer):
      (WebCore::RenderLayerFilterInfo::createFilterInfoForRenderLayerIfNeeded):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::dependsOn):
      (WebCore::RenderNamedFlowThread::pushDependencies):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      (WebCore::RenderRegion::setRegionObjectsRegionStyle):
      (WebCore::RenderRegion::restoreRegionObjectsOriginalStyle):
      (WebCore::RenderRegion::computeChildrenStyleInRegion):
      * rendering/RenderTableSection.cpp:
      (WebCore::RenderTableSection::cachedCollapsedBorder):
      * rendering/RenderThemeMac.mm:
      (WebCore::RenderThemeMac::systemColor):
      * rendering/RenderView.cpp:
      (WebCore::RenderView::selectionBounds):
      (WebCore::RenderView::setSelection):
      * rendering/RenderWidget.cpp:
      (WebCore::WidgetHierarchyUpdatesSuspensionScope::moveWidgets):
      * rendering/RootInlineBox.cpp:
      (WebCore::RootInlineBox::ascentAndDescentForBox):
      * rendering/VerticalPositionCache.h:
      (WebCore::VerticalPositionCache::get):
      * rendering/svg/RenderSVGInlineText.cpp:
      (WebCore::RenderSVGInlineText::characterStartsNewTextChunk):
      * rendering/svg/RenderSVGResourceFilter.cpp:
      (WebCore::RenderSVGResourceFilter::primitiveAttributeChanged):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * rendering/svg/SVGResourcesCache.cpp:
      (WebCore::SVGResourcesCache::resourceDestroyed):
      * rendering/svg/SVGRootInlineBox.cpp:
      (WebCore::swapItemsInLayoutAttributes):
      * rendering/svg/SVGTextLayoutAttributes.cpp:
      (WebCore::SVGTextLayoutAttributes::dump):
      * rendering/svg/SVGTextLayoutAttributesBuilder.cpp:
      (WebCore::SVGTextLayoutAttributesBuilder::buildCharacterDataMap):
      (WebCore::SVGTextLayoutAttributesBuilder::fillCharacterDataMap):
      * rendering/svg/SVGTextLayoutEngine.cpp:
      (WebCore::SVGTextLayoutEngine::layoutTextOnLineOrPath):
      * rendering/svg/SVGTextMetricsBuilder.cpp:
      (WebCore::SVGTextMetricsBuilder::measureTextRenderer):
      * storage/StorageAreaSync.cpp:
      (WebCore::StorageAreaSync::syncTimerFired):
      (WebCore::StorageAreaSync::performImport):
      (WebCore::StorageAreaSync::sync):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::key):
      (WebCore::StorageMap::setItem):
      * storage/StorageNamespaceImpl.cpp:
      (WebCore::StorageNamespaceImpl::localStorageNamespace):
      (WebCore::StorageNamespaceImpl::copy):
      (WebCore::StorageNamespaceImpl::close):
      (WebCore::StorageNamespaceImpl::clearAllOriginsForDeletion):
      (WebCore::StorageNamespaceImpl::sync):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::removeAnimationElementFromTarget):
      (WebCore::SVGDocumentExtensions::removeAllAnimationElementsFromTarget):
      (WebCore::SVGDocumentExtensions::addPendingResource):
      (WebCore::SVGDocumentExtensions::isElementPendingResources):
      (WebCore::SVGDocumentExtensions::removeElementFromPendingResources):
      (WebCore::SVGDocumentExtensions::setOfElementsReferencingTarget):
      (WebCore::SVGDocumentExtensions::removeAllTargetReferencesForElement):
      (WebCore::SVGDocumentExtensions::removeAllElementReferencesForTarget):
      * svg/SVGElement.cpp:
      (WebCore::SVGElement::~SVGElement):
      * svg/animation/SMILTimeContainer.cpp:
      (WebCore::SMILTimeContainer::setElapsed):
      (WebCore::SMILTimeContainer::updateAnimations):
      * svg/graphics/SVGImageCache.cpp:
      (WebCore::SVGImageCache::~SVGImageCache):
      (WebCore::SVGImageCache::removeClientFromCache):
      (WebCore::SVGImageCache::requestedSizeAndScales):
      (WebCore::SVGImageCache::imageContentChanged):
      (WebCore::SVGImageCache::redraw):
      (WebCore::SVGImageCache::lookupOrCreateBitmapImageForRenderer):
      * svg/graphics/filters/SVGFilterBuilder.h:
      (WebCore::SVGFilterBuilder::effectReferences):
      (WebCore::SVGFilterBuilder::addBuiltinEffects):
      * svg/properties/SVGAnimatedProperty.h:
      (WebCore::SVGAnimatedProperty::~SVGAnimatedProperty):
      * svg/properties/SVGAttributeToPropertyMap.cpp:
      (WebCore::SVGAttributeToPropertyMap::addProperties):
      (WebCore::SVGAttributeToPropertyMap::synchronizeProperties):
      * workers/WorkerContext.cpp:
      (WebCore::WorkerContext::hasPendingActivity):
      * workers/WorkerEventQueue.cpp:
      (WebCore::WorkerEventQueue::close):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      (WebCore::XMLHttpRequest::getAllResponseHeaders):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::createFunction):
      * xml/XPathParser.cpp:
      (isAxisName):
      * xml/XSLTProcessorLibxslt.cpp:
      (WebCore::xsltParamArrayFromParameterMap):
      * xml/XSLTProcessorQt.cpp:
      (WebCore::XSLTProcessor::transformToString):
      
      Source/WebKit/blackberry: 
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::setBackingStoreRect):
      (BlackBerry::WebKit::BackingStorePrivate::visibleTilesRect):
      (BlackBerry::WebKit::BackingStorePrivate::resetTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTiles):
      (BlackBerry::WebKit::BackingStorePrivate::updateTilesForScrollOrNotRenderedRegion):
      (BlackBerry::WebKit::BackingStorePrivate::mapFromTransformedContentsToTiles):
      * WebCoreSupport/NotificationPresenterImpl.cpp:
      (WebCore::NotificationPresenterImpl::cancel):
      (WebCore::NotificationPresenterImpl::onPermission):
      (WebCore::NotificationPresenterImpl::notificationClicked):
      * WebCoreSupport/UserMediaClientImpl.cpp:
      (WebCore::UserMediaClientImpl::cancelUserMediaRequest):
      * WebKitSupport/AboutData.cpp:
      (BlackBerry::WebKit::dumpJSCTypeCountSetToTableHTML):
      * WebKitSupport/FrameLayers.cpp:
      (BlackBerry::WebKit::FrameLayers::removeLayerByFrame):
      (BlackBerry::WebKit::FrameLayers::commitOnWebKitThread):
      (BlackBerry::WebKit::FrameLayers::calculateRootLayer):
      
      Source/WebKit/chromium: 
      
      * src/WebGeolocationPermissionRequestManager.cpp:
      (WebGeolocationPermissionRequestManager::remove):
      * src/WebIDBMetadata.cpp:
      (WebKit::WebIDBMetadata::WebIDBMetadata):
      * src/WebIntent.cpp:
      (WebKit::WebIntent::extrasValue):
      * tests/MemoryInstrumentationTest.cpp:
      * tests/WebSocketExtensionDispatcherTest.cpp:
      (WebCore::TEST_F):
      
      Source/WebKit/efl: 
      
      * WebCoreSupport/DumpRenderTreeSupportEfl.cpp:
      (DumpRenderTreeSupportEfl::evaluateScriptInIsolatedWorld):
      * WebCoreSupport/PlatformStrategiesEfl.cpp:
      (PlatformStrategiesEfl::getPluginInfo):
      * ewk/ewk_intent.cpp:
      (ewk_intent_extra_get):
      
      Source/WebKit/gtk: 
      
      * WebCoreSupport/PlatformStrategiesGtk.cpp:
      (PlatformStrategiesGtk::getPluginInfo):
      * webkit/webkitfavicondatabase.cpp:
      (webkitFaviconDatabaseImportFinished):
      * webkit/webkitwebplugin.cpp:
      (webkit_web_plugin_get_mimetypes):
      
      Source/WebKit/mac: 
      
      * History/WebHistory.mm:
      (-[WebHistoryPrivate removeItemFromDateCaches:]):
      (-[WebHistoryPrivate orderedLastVisitedDays]):
      (WebHistoryWriter::WebHistoryWriter):
      * Misc/WebCoreStatistics.mm:
      (+[WebCoreStatistics javaScriptProtectedObjectTypeCounts]):
      (+[WebCoreStatistics javaScriptObjectTypeCounts]):
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      (WebKit::NetscapePluginHostManager::pluginHostDied):
      (WebKit::NetscapePluginHostManager::didCreateWindow):
      * Plugins/Hosted/NetscapePluginHostProxy.mm:
      (WebKit::NetscapePluginHostProxy::pluginHostDied):
      * Plugins/Hosted/NetscapePluginInstanceProxy.mm:
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::idForObject):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::retain):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::release):
      (WebKit::NetscapePluginInstanceProxy::LocalObjectMap::forget):
      (WebKit::NetscapePluginInstanceProxy::destroy):
      (WebKit::NetscapePluginInstanceProxy::webFrameDidFinishLoadWithReason):
      (WebKit::NetscapePluginInstanceProxy::cancelCheckIfAllowedToLoadURL):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * Plugins/WebNetscapePluginView.mm:
      (-[WebNetscapePluginView stopTimers]):
      (-[WebNetscapePluginView startTimers]):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      (WebNotificationClient::clearNotifications):
      (WebNotificationClient::notificationObjectDestroyed):
      * WebView/WebHTMLView.mm:
      (commandNameForSelector):
      
      Source/WebKit/qt: 
      
      * Api/qwebpage.cpp:
      (extractContentTypeFromPluginVector):
      * Api/qwebplugindatabase.cpp:
      (QWebPluginInfo::mimeTypes):
      * WebCoreSupport/PlatformStrategiesQt.cpp:
      (PlatformStrategiesQt::getPluginInfo):
      
      Source/WebKit/win: 
      
      * COMPropertyBag.h:
      (::Read):
      (::GetPropertyInfo):
      * WebCoreStatistics.cpp:
      (WebCoreStatistics::javaScriptProtectedObjectTypeCounts):
      * WebCoreSupport/WebPlatformStrategies.cpp:
      (WebPlatformStrategies::getPluginInfo):
      * WebHistory.cpp:
      (WebHistory::removeItemFromDateCaches):
      * WebKitCOMAPI.cpp:
      (classFactory):
      * WebKitStatistics.cpp:
      (WebKitStatistics::comClassNameCounts):
      * WebNotificationCenter.cpp:
      (WebNotificationCenter::postNotificationInternal):
      (WebNotificationCenter::addObserver):
      (WebNotificationCenter::removeObserver):
      
      Source/WebKit/wince: 
      
      * WebCoreSupport/PlatformStrategiesWinCE.cpp:
      (PlatformStrategiesWinCE::getPluginInfo):
      
      Source/WebKit2: 
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      (CoreIPC::Connection::waitForMessage):
      (CoreIPC::Connection::processIncomingMessage):
      * Platform/gtk/WorkQueueGtk.cpp:
      (WorkQueue::registerEventSourceHandler):
      (WorkQueue::unregisterEventSourceHandler):
      * Platform/mac/WorkQueueMac.cpp:
      (WorkQueue::unregisterMachPortEventHandler):
      * Shared/Plugins/NPRemoteObjectMap.cpp:
      (WebKit::NPRemoteObjectMap::pluginDestroyed):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageEncoder::baseEncode):
      * Shared/WebPreferencesStore.cpp:
      (WebKit::valueForKey):
      (WebKit::WebPreferencesStore::getBoolValueForKey):
      * Shared/mac/WebCoreArgumentCodersMac.mm:
      (CoreIPC::::decode):
      * Shared/qt/ArgumentCodersQt.cpp:
      (CoreIPC::::decode):
      * Shared/soup/WebCoreArgumentCodersSoup.cpp:
      (CoreIPC::::decode):
      * UIProcess/API/efl/ewk_back_forward_list.cpp:
      (_Ewk_Back_Forward_List::~_Ewk_Back_Forward_List):
      * UIProcess/API/efl/ewk_context.cpp:
      (_Ewk_Context::~_Ewk_Context):
      * UIProcess/API/efl/ewk_view.cpp:
      (_ewk_view_priv_loading_resources_clear):
      * UIProcess/API/gtk/WebKitWebView.cpp:
      (webkit_web_view_get_subresources):
      * UIProcess/API/gtk/WebKitWebViewBase.cpp:
      (webkitWebViewBaseContainerForall):
      * UIProcess/API/mac/WKPrintingView.mm:
      (-[WKPrintingView _expectedPreviewCallbackForRect:]):
      (pageDidDrawToPDF):
      (-[WKPrintingView _drawPreview:]):
      * UIProcess/API/mac/WKView.mm:
      (commandNameForSelector):
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/CoordinatedGraphics/CoordinatedBackingStore.cpp:
      (WebKit::CoordinatedBackingStore::updateTile):
      (WebKit::CoordinatedBackingStore::texture):
      (WebKit::CoordinatedBackingStore::paintToTextureMapper):
      (WebKit::CoordinatedBackingStore::commitTileOperations):
      * UIProcess/CoordinatedGraphics/LayerTreeCoordinatorProxy.cpp:
      (WebKit::LayerTreeCoordinatorProxy::updateTileForLayer):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::adjustPositionForFixedLayers):
      (WebKit::LayerTreeRenderer::syncCanvas):
      (WebKit::LayerTreeRenderer::setLayerChildren):
      (WebKit::LayerTreeRenderer::setLayerFilters):
      (WebKit::LayerTreeRenderer::setLayerState):
      (WebKit::LayerTreeRenderer::assignImageToLayer):
      * UIProcess/GeolocationPermissionRequestManagerProxy.cpp:
      (WebKit::GeolocationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/InspectorServer/WebInspectorServer.cpp:
      (WebKit::WebInspectorServer::~WebInspectorServer):
      (WebKit::WebInspectorServer::registerPage):
      * UIProcess/InspectorServer/WebSocketServerConnection.cpp:
      (WebKit::WebSocketServerConnection::sendHTTPResponseHeader):
      * UIProcess/InspectorServer/qt/WebInspectorServerQt.cpp:
      (WebKit::WebInspectorServer::buildPageList):
      * UIProcess/Notifications/NotificationPermissionRequestManagerProxy.cpp:
      (WebKit::NotificationPermissionRequestManagerProxy::invalidateRequests):
      * UIProcess/Plugins/PluginProcessProxy.cpp:
      (WebKit::PluginProcessProxy::pluginProcessCrashedOrFailedToLaunch):
      * UIProcess/WebContext.cpp:
      (WebKit::createDictionaryFromHashMap):
      * UIProcess/WebIconDatabase.cpp:
      (WebKit::WebIconDatabase::didFinishURLImport):
      * UIProcess/WebIntentData.cpp:
      (WebKit::WebIntentData::extras):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::checkURLReceivedFromWebProcess):
      (WebKit::WebProcessProxy::addBackForwardItem):
      (WebKit::WebProcessProxy::frameCountInPage):
      * WebProcess/Geolocation/GeolocationPermissionRequestManager.cpp:
      (WebKit::GeolocationPermissionRequestManager::cancelRequestForGeolocation):
      (WebKit::GeolocationPermissionRequestManager::didReceiveGeolocationPermissionDecision):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/InjectedBundle/InjectedBundleIntent.cpp:
      (WebKit::InjectedBundleIntent::extras):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::policyForOrigin):
      (WebKit::WebNotificationManager::show):
      (WebKit::WebNotificationManager::clearNotifications):
      (WebKit::WebNotificationManager::removeNotificationFromContextMap):
      * WebProcess/Plugins/Netscape/NPRuntimeObjectMap.cpp:
      (WebKit::NPRuntimeObjectMap::invalidate):
      * WebProcess/Plugins/Netscape/NetscapePlugin.cpp:
      (WebKit::NetscapePlugin::destroyStream):
      (WebKit::NetscapePlugin::frameDidFinishLoading):
      (WebKit::NetscapePlugin::frameDidFail):
      * WebProcess/Plugins/PluginView.cpp:
      (WebKit::buildHTTPHeaders):
      (WebKit::PluginView::~PluginView):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::layerByID):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::adoptImageBackingStore):
      (WebKit::LayerTreeCoordinator::releaseImageBackingStore):
      * WebProcess/WebPage/WebBackForwardListProxy.cpp:
      (WebKit::WebBackForwardListProxy::removeItem):
      * WebProcess/WebPage/mac/WebPageMac.mm:
      (WebKit::commandNameForSelectorName):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::visitedLinkStateChanged):
      (WebKit::WebProcess::allVisitedLinkStateChanged):
      (WebKit::WebProcess::focusedWebPage):
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      (WebKit::fromCountedSetToHashMap):
      (WebKit::WebProcess::setTextCheckerState):
      
      Source/WTF: 
      
      Currently HashMap iterators follow the same interface in std::map: given an
      iterator it, we use it->first to access the key and it->second to access the
      value. This patch changes these accesses to it->key and it->value, improving the
      readability at call sites.
      
      One potential downside of this change would be the confusion between std::map and
      HashMap interfaces. However, they are already different in other aspects and the
      usage of std::map is more an exception than a rule in WebKit code, so we consider
      the confusion will be less likely to happen.
      
      * wtf/HashCountedSet.h:
      (WTF::::add):
      (WTF::::remove):
      (WTF::copyToVector):
      * wtf/HashIterators.h:
      (WTF::HashTableConstKeysIterator::get):
      (WTF::HashTableConstValuesIterator::get):
      (WTF::HashTableKeysIterator::get):
      (WTF::HashTableValuesIterator::get):
      * wtf/HashMap.h:
      (WTF::KeyValuePairKeyExtractor::extract):
      (WTF::HashMapValueTraits::isEmptyValue):
      (WTF::HashMapTranslator::translate):
      (WTF::HashMapTranslatorAdapter::translate):
      (WTF::::set):
      (WTF::::get):
      (WTF::::take):
      (WTF::operator==):
      (WTF::deleteAllValues):
      (WTF::deleteAllKeys):
      Removed deleteAllPairFirsts() and deleteAllPairSeconds() since they are now unused.
      
      * wtf/HashTable.h:
      (WTF::hashTableSwap):
      (WTF::::checkTableConsistencyExceptSize):
      * wtf/HashTraits.h:
      (WTF):
      (WTF::KeyValuePair::KeyValuePair):
      (KeyValuePair):
      (WTF::KeyValuePairHashTraits::constructDeletedValue):
      (WTF::KeyValuePairHashTraits::isDeletedValue):
      * wtf/MetaAllocator.cpp:
      (WTF::MetaAllocator::addFreeSpace):
      (WTF::MetaAllocator::incrementPageOccupancy):
      (WTF::MetaAllocator::decrementPageOccupancy):
      * wtf/RefCountedLeakCounter.cpp:
      (WTF::RefCountedLeakCounter::~RefCountedLeakCounter):
      * wtf/RefPtrHashMap.h:
      (WTF::::set):
      (WTF::::get):
      (WTF::::inlineGet):
      (WTF::::take):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      (WTF::Spectrum::get):
      (WTF::Spectrum::buildList):
      * wtf/ThreadingPthreads.cpp:
      (WTF::identifierByPthreadHandle):
      
      Tools: 
      
      * DumpRenderTree/chromium/MockWebSpeechInputController.cpp:
      (MockWebSpeechInputController::addMockRecognitionResult):
      * DumpRenderTree/chromium/NotificationPresenter.cpp:
      (NotificationPresenter::simulateClick):
      (NotificationPresenter::show):
      * DumpRenderTree/chromium/TestRunner/CppBoundClass.cpp:
      (CppBoundClass::~CppBoundClass):
      (CppBoundClass::invoke):
      (CppBoundClass::getProperty):
      (CppBoundClass::setProperty):
      (CppBoundClass::bindCallback):
      (CppBoundClass::bindProperty):
      * DumpRenderTree/chromium/WebPreferences.cpp:
      (applyFontMap):
      * DumpRenderTree/chromium/WebViewHost.cpp:
      (WebViewHost::printResourceDescription):
      * DumpRenderTree/mac/TestRunnerMac.mm:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * DumpRenderTree/win/AccessibilityControllerWin.cpp:
      (AccessibilityController::~AccessibilityController):
      (AccessibilityController::winNotificationReceived):
      * DumpRenderTree/win/ResourceLoadDelegate.cpp:
      (ResourceLoadDelegate::descriptionSuitableForTestResult):
      * DumpRenderTree/win/TestRunnerWin.cpp:
      (worldIDForWorld):
      (TestRunner::evaluateScriptInIsolatedWorld):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionBasic_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionBasic::willDestroyPage):
      * TestWebKitAPI/Tests/WebKit2/DOMWindowExtensionNoCache_Bundle.cpp:
      (TestWebKitAPI::DOMWindowExtensionNoCache::willDestroyPage):
      * WebKitTestRunner/InjectedBundle/TestRunner.cpp:
      (WTR::TestRunner::worldIDForWorld):
      (WTR::TestRunner::evaluateScriptInIsolatedWorld):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130612 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ee554054
  7. 05 Oct, 2012 4 commits
  8. 04 Oct, 2012 3 commits
    • simon.fraser@apple.com's avatar
      Final part of "sync" to "flush" renaming · df44c011
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98430
      
      Reviewed by Tim Horton.
      
      Change method names on GraphicsLayer and GraphicsLayerClient that
      refer to "sync" to use the term "flush" instead, to be consistent
      with the rest of the code.
      
      Source/WebCore:
      
      * platform/graphics/GraphicsLayer.h:
      (WebCore::GraphicsLayer::flushCompositingState):
      (WebCore::GraphicsLayer::flushCompositingStateForThisLayerOnly):
      * platform/graphics/GraphicsLayerClient.h:
      (GraphicsLayerClient):
      * platform/graphics/blackberry/GraphicsLayerBlackBerry.h:
      (WebCore::GraphicsLayerBlackBerry::notifyFlushRequired):
      * platform/graphics/blackberry/LayerWebKitThread.cpp:
      (WebCore::LayerWebKitThread::setNeedsCommit):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::flushCompositingState):
      (WebCore::GraphicsLayerCA::flushCompositingStateForThisLayerOnly):
      (WebCore::GraphicsLayerCA::platformCALayerDidCreateTiles):
      (WebCore::GraphicsLayerCA::positionForCloneRootLayer):
      (WebCore::GraphicsLayerCA::noteLayerPropertyChanged):
      * platform/graphics/ca/GraphicsLayerCA.h:
      (GraphicsLayerCA):
      * platform/graphics/texmap/GraphicsLayerTextureMapper.cpp:
      (WebCore::GraphicsLayerTextureMapper::notifyChange):
      (WebCore::GraphicsLayerTextureMapper::flushCompositingStateForThisLayerOnly):
      (WebCore::GraphicsLayerTextureMapper::flushCompositingState):
      * platform/graphics/texmap/GraphicsLayerTextureMapper.h:
      (GraphicsLayerTextureMapper):
      * platform/graphics/texmap/TextureMapperLayer.cpp:
      (WebCore::TextureMapperLayer::flushCompositingState):
      (WebCore::TextureMapperLayer::flushCompositingStateSelf):
      * platform/graphics/texmap/TextureMapperLayer.h:
      (TextureMapperLayer):
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::notifyFlushRequired):
      * rendering/RenderLayerBacking.h:
      (RenderLayerBacking):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
      * rendering/RenderLayerCompositor.h:
      (WebCore::RenderLayerCompositor::notifyFlushRequired):
      
      Source/WebKit/blackberry:
      
      * Api/WebOverlay.cpp:
      (BlackBerry::WebKit::WebOverlayPrivateWebKitThread::notifyFlushRequired):
      * Api/WebOverlay_p.h:
      (WebOverlayPrivateWebKitThread):
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::notifyFlushRequired):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      * WebKitSupport/DefaultTapHighlight.cpp:
      (BlackBerry::WebKit::DefaultTapHighlight::notifyFlushRequired):
      * WebKitSupport/DefaultTapHighlight.h:
      (DefaultTapHighlight):
      * WebKitSupport/InspectorOverlayBlackBerry.cpp:
      (BlackBerry::WebKit::InspectorOverlay::notifyFlushRequired):
      * WebKitSupport/InspectorOverlayBlackBerry.h:
      (InspectorOverlay):
      * WebKitSupport/SelectionOverlay.cpp:
      (BlackBerry::WebKit::SelectionOverlay::notifyFlushRequired):
      * WebKitSupport/SelectionOverlay.h:
      (SelectionOverlay):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/AcceleratedCompositingContextEfl.cpp:
      (WebCore::AcceleratedCompositingContext::syncLayersNow):
      (WebCore::AcceleratedCompositingContext::attachRootGraphicsLayer):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/AcceleratedCompositingContext.h:
      (AcceleratedCompositingContext):
      * WebCoreSupport/AcceleratedCompositingContextCairo.cpp:
      (WebKit::AcceleratedCompositingContext::attachRootGraphicsLayer):
      (WebKit::AcceleratedCompositingContext::resizeRootLayer):
      (WebKit::AcceleratedCompositingContext::syncLayersNow):
      (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
      * WebCoreSupport/AcceleratedCompositingContextClutter.cpp:
      (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
      (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
      * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
      (WebKit::AcceleratedCompositingContext::flushPendingLayerChanges):
      (WebKit::AcceleratedCompositingContext::notifyFlushRequired):
      
      Source/WebKit/mac:
      
      * WebView/WebView.mm:
      
      Source/WebKit/qt:
      
      * WebCoreSupport/PageClientQt.cpp:
      (WebCore::TextureMapperLayerClientQt::syncRootLayer):
      
      Source/WebKit/win:
      
      * WebView.cpp:
      (WebView::notifyFlushRequired):
      (WebView::flushPendingGraphicsLayerChanges):
      * WebView.h:
      
      Source/WebKit2:
      
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.cpp:
      (WebKit::LayerTreeRenderer::paintToCurrentGLContext):
      (WebKit::LayerTreeRenderer::flushLayerChanges):
      * UIProcess/CoordinatedGraphics/LayerTreeRenderer.h:
      (WebKit::LayerTreeRenderer::notifyFlushRequired):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.cpp:
      (WebCore::CoordinatedGraphicsLayer::didChangeLayerState):
      (WebCore::CoordinatedGraphicsLayer::didChangeAnimatedProperties):
      (WebCore::CoordinatedGraphicsLayer::didChangeChildren):
      (WebCore::CoordinatedGraphicsLayer::didChangeFilters):
      (WebCore::CoordinatedGraphicsLayer::setContentsNeedsDisplay):
      (WebCore::CoordinatedGraphicsLayer::setContentsToCanvas):
      (WebCore::CoordinatedGraphicsLayer::flushCompositingState):
      (WebCore::CoordinatedGraphicsLayer::flushCompositingStateForThisLayerOnly):
      * WebProcess/WebPage/CoordinatedGraphics/CoordinatedGraphicsLayer.h:
      (CoordinatedGraphicsLayer):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::flushPendingLayerChanges):
      (WebKit::LayerTreeCoordinator::notifyFlushRequired):
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.h:
      (LayerTreeCoordinator):
      * WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
      (WebKit::LayerTreeHostCA::notifyFlushRequired):
      (WebKit::LayerTreeHostCA::flushPendingLayerChanges):
      * WebProcess/WebPage/ca/LayerTreeHostCA.h:
      (LayerTreeHostCA):
      * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
      (WebKit::LayerTreeHostGtk::notifyFlushRequired):
      (WebKit::LayerTreeHostGtk::flushPendingLayerChanges):
      * WebProcess/WebPage/gtk/LayerTreeHostGtk.h:
      (LayerTreeHostGtk):
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      (TiledCoreAnimationDrawingArea):
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      (WebKit::TiledCoreAnimationDrawingArea::notifyFlushRequired):
      (WebKit::TiledCoreAnimationDrawingArea::flushLayers):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130439 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      df44c011
    • simon.fraser@apple.com's avatar
      Standardize on "flush" terminology for compositing layer flushing/syncing · cad7e8e6
      simon.fraser@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98321
      
      Reviewed by Simon Fraser.
      
      Rename compositing-related methods that refer to "syncing" to instead
      refer to "flushing".
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * loader/EmptyClients.h:
      (WebCore::EmptyChromeClient::scheduleCompositingLayerFlush):
      * page/ChromeClient.h:
      (ChromeClient):
      * page/FrameView.cpp:
      (WebCore::FrameView::flushCompositingStateForThisFrame):
      (WebCore::FrameView::flushCompositingStateIncludingSubframes):
      (WebCore::FrameView::paintContents):
      * page/FrameView.h:
      (FrameView):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::scheduleLayerFlush):
      (WebCore::RenderLayerCompositor::flushPendingLayerChanges):
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore::ChromeClientBlackBerry::scheduleCompositingLayerFlush):
      * WebCoreSupport/ChromeClientBlackBerry.h:
      (ChromeClientBlackBerry):
      
      Source/WebKit/chromium:
      
      * src/ChromeClientImpl.cpp:
      (WebKit::ChromeClientImpl::scheduleCompositingLayerFlush):
      * src/ChromeClientImpl.h:
      (ChromeClientImpl):
      
      Source/WebKit/efl:
      
      * WebCoreSupport/ChromeClientEfl.cpp:
      (WebCore::ChromeClientEfl::scheduleCompositingLayerFlush):
      * WebCoreSupport/ChromeClientEfl.h:
      (ChromeClientEfl):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/ChromeClientGtk.cpp:
      (WebKit::ChromeClient::scheduleCompositingLayerFlush):
      * WebCoreSupport/ChromeClientGtk.h:
      (ChromeClient):
      
      Source/WebKit/mac:
      
      * WebCoreSupport/WebChromeClient.h:
      * WebCoreSupport/WebChromeClient.mm:
      (WebChromeClient::scheduleCompositingLayerFlush):
      * WebView/WebView.mm:
      (-[WebView _flushCompositingChanges]):
      (LayerFlushController::flushLayers):
      (-[WebView _scheduleCompositingLayerFlush]):
      * WebView/WebViewInternal.h:
      
      Source/WebKit/qt:
      
      * WebCoreSupport/ChromeClientQt.cpp:
      (WebCore::ChromeClientQt::scheduleCompositingLayerFlush):
      * WebCoreSupport/ChromeClientQt.h:
      (ChromeClientQt):
      * WebCoreSupport/PageClientQt.cpp:
      (WebCore::PageClientQGraphicsWidget::syncLayers):
      
      Source/WebKit/win:
      
      * WebCoreSupport/WebChromeClient.cpp:
      (WebChromeClient::scheduleCompositingLayerFlush):
      * WebCoreSupport/WebChromeClient.h:
      (WebChromeClient):
      * WebView.cpp:
      (WebView::flushPendingGraphicsLayerChanges):
      
      Source/WebKit/wince:
      
      * WebCoreSupport/ChromeClientWinCE.cpp:
      (WebKit::ChromeClientWinCE::scheduleCompositingLayerFlush):
      * WebCoreSupport/ChromeClientWinCE.h:
      (ChromeClientWinCE):
      
      Source/WebKit2:
      
      * WebProcess/WebCoreSupport/WebChromeClient.cpp:
      (WebKit::WebChromeClient::scheduleCompositingLayerFlush):
      * WebProcess/WebCoreSupport/WebChromeClient.h:
      (WebChromeClient):
      * WebProcess/WebPage/DrawingArea.h:
      (DrawingArea):
      * WebProcess/WebPage/DrawingAreaImpl.cpp:
      (WebKit::DrawingAreaImpl::scheduleCompositingLayerFlush):
      * WebProcess/WebPage/DrawingAreaImpl.h:
      (DrawingAreaImpl):
      * WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
      (WebKit::LayerTreeHostCA::flushPendingLayerChanges):
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h:
      (TiledCoreAnimationDrawingArea):
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      (WebKit::TiledCoreAnimationDrawingArea::scheduleCompositingLayerFlush):
      (WebKit::TiledCoreAnimationDrawingArea::didInstallPageOverlay):
      (WebKit::TiledCoreAnimationDrawingArea::didUninstallPageOverlay):
      (WebKit::TiledCoreAnimationDrawingArea::setPageOverlayNeedsDisplay):
      (WebKit::TiledCoreAnimationDrawingArea::flushLayers):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130400 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      cad7e8e6
    • tonikitoo@webkit.org's avatar
      [BlackBerry] Exiting fullscreen does not set the correct scroll position (Part II) · 4279f5c7
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97917
      PR #212920
      
      Reviewed by Yong Li.
      Patch by Antonio Gomes <agomes@rim.com>
      Internally reviewed by Jacky Jiang.
      
      Inform the client of transform change so that we avoid
      getting stuck on overscroll.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::setViewportSize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130392 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4279f5c7
  9. 03 Oct, 2012 2 commits
    • commit-queue@webkit.org's avatar
      .: [BlackBerry] Implementing the NetworkInfo API for BB port · c0c0e811
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=98273
      
      Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-10-03
      Reviewed by Rob Buis.
      
      Adding references to new classes added to support BlackBerry's
      NetworkInfo implementation.
      
      * Source/cmake/OptionsBlackBerry.cmake:
      
      Source/WebKit: [BlackBerry] Implementing the NetworkInfo API for BB port
      https://bugs.webkit.org/show_bug.cgi?id=98273
      
      Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-10-03
      Reviewed by Rob Buis.
      
      Adding new classes to support NetworkInfo API in the
      BlackBerry Port.
      
      * PlatformBlackBerry.cmake:
      
      Source/WebKit/blackberry: [BlackBerry] Implementing the NetworkInfo API for BB port
      https://bugs.webkit.org/show_bug.cgi?id=98273
      
      Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-10-03
      Reviewed by Rob Buis.
      
      Adding new class NetworkInfoClientBlackBerry to implement
      NetworkInfoClient for the BlackBerry port.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::init):
      * WebCoreSupport/NetworkInfoClientBlackBerry.cpp: Added.
      (WebCore):
      (WebCore::NetworkInfoClientBlackBerry::NetworkInfoClientBlackBerry):
      (WebCore::NetworkInfoClientBlackBerry::startUpdating):
      (WebCore::NetworkInfoClientBlackBerry::stopUpdating):
      (WebCore::NetworkInfoClientBlackBerry::bandwidth):
      (WebCore::NetworkInfoClientBlackBerry::metered):
      (WebCore::NetworkInfoClientBlackBerry::onCurrentNetworkChange):
      (WebCore::NetworkInfoClientBlackBerry::onCurrentCellularTypeChange):
      * WebCoreSupport/NetworkInfoClientBlackBerry.h: Added.
      (WebKit):
      (WebCore):
      (NetworkInfoClientBlackBerry):
      (WebCore::NetworkInfoClientBlackBerry::~NetworkInfoClientBlackBerry):
      
      Tools: [BlackBerry] Implementing the NetworkInfo API for BB port
      https://bugs.webkit.org/show_bug.cgi?id=98273
      
      Patch by Otto Derek Cheung <otcheung@rim.com> on 2012-10-03
      Reviewed by Rob Buis.
      
      Enabling NetworkInfo API for the BlackBerry port.
      
      * Scripts/webkitperl/FeatureList.pm:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130320 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c0c0e811
    • andersca@apple.com's avatar
      Change most GraphicsLayer::create calls to use the version that takes a GraphicsLayerFactory · d857c85b
      andersca@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98217
      
      Reviewed by Andreas Kling.
      
      Source/WebCore:
      
      * WebCore.exp.in:
      * rendering/RenderLayerBacking.cpp:
      (WebCore::RenderLayerBacking::createGraphicsLayer):
      * rendering/RenderLayerCompositor.cpp:
      (WebCore::RenderLayerCompositor::updateOverflowControlsLayers):
      (WebCore::RenderLayerCompositor::ensureRootLayer):
      
      Source/WebKit/blackberry:
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::overlayLayer):
      
      Source/WebKit/chromium:
      
      * src/NonCompositedContentHost.cpp:
      (WebKit::NonCompositedContentHost::NonCompositedContentHost):
      
      Source/WebKit/gtk:
      
      * WebCoreSupport/AcceleratedCompositingContextGL.cpp:
      (WebKit::AcceleratedCompositingContext::initialize):
      
      Source/WebKit/win:
      
      * WebView.cpp:
      (WebView::setAcceleratedCompositing):
      
      Source/WebKit2:
      
      * WebProcess/WebPage/CoordinatedGraphics/LayerTreeCoordinator.cpp:
      (WebKit::LayerTreeCoordinator::LayerTreeCoordinator):
      (WebKit::LayerTreeCoordinator::createPageOverlayLayer):
      * WebProcess/WebPage/ca/LayerTreeHostCA.cpp:
      (WebKit::LayerTreeHostCA::initialize):
      (WebKit::LayerTreeHostCA::createPageOverlayLayer):
      * WebProcess/WebPage/gtk/LayerTreeHostGtk.cpp:
      (WebKit::LayerTreeHostGtk::initialize):
      (WebKit::LayerTreeHostGtk::createPageOverlayLayer):
      * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm:
      (WebKit::TiledCoreAnimationDrawingArea::createPageOverlayLayer):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130302 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d857c85b
  10. 02 Oct, 2012 2 commits
    • yoli@rim.com's avatar
      [BlackBerry] Prevent window.close() from closing pages that are not opened by JS · 3bae0982
      yoli@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98190
      
      Reviewed by Antonio Gomes.
      
      RIM PR# 217812.
      Only pages opened by JS can be closed by JS.
      
      * WebCoreSupport/ChromeClientBlackBerry.cpp:
      (WebCore::ChromeClientBlackBerry::closeWindowSoon):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130204 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3bae0982
    • beidson@apple.com's avatar
      Remove the Safari 2 -> Safari 3 icon database import code. · 87753a49
      beidson@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=98113
      
      Reviewed by Maciej Stachowiak.
      
      Source/WebCore:
      
      Remove notions of "importing an old database format" from the IconDatabase.
      
      No new tests - Feature removed, and no previous tests covered it.
      
      * loader/icon/IconDatabase.cpp:
      (DefaultIconDatabaseClient):
      (WebCore::IconDatabase::IconDatabase):
      (WebCore):
      (WebCore::IconDatabase::iconDatabaseSyncThread):
      * loader/icon/IconDatabase.h:
      (IconDatabase):
      * loader/icon/IconDatabaseBase.h:
      * loader/icon/IconDatabaseClient.h:
      * WebCore.exp.in:
      
      Source/WebKit/blackberry:
      
      Nuke the performImport() IconDatabaseClient method.
      
      * WebCoreSupport/IconDatabaseClientBlackBerry.cpp:
      * WebCoreSupport/IconDatabaseClientBlackBerry.h:
      (IconDatabaseClientBlackBerry):
      
      Source/WebKit/efl:
      
      Nuke the performImport() IconDatabaseClient method.
      
      * WebCoreSupport/IconDatabaseClientEfl.cpp:
      * WebCoreSupport/IconDatabaseClientEfl.h:
      
      Source/WebKit/gtk:
      
      Nuke the performImport() IconDatabaseClient method.
      
      * webkit/webkitfavicondatabase.cpp:
      (IconDatabaseClientGtk):
      
      Source/WebKit/mac:
      
      Nuke the performImport() IconDatabaseClient method, as well as the supporting methods.
      
      * Misc/WebIconDatabase.mm:
      * Misc/WebIconDatabaseInternal.h:
      * Misc/WebIconDatabasePrivate.h:
      * WebCoreSupport/WebIconDatabaseClient.h:
      * WebCoreSupport/WebIconDatabaseClient.mm:
      * WebKit.exp:
      
      Source/WebKit/qt:
      
      Nuke the performImport() IconDatabaseClient method.
      
      * WebCoreSupport/IconDatabaseClientQt.cpp:
      * WebCoreSupport/IconDatabaseClientQt.h:
      (IconDatabaseClientQt):
      
      Source/WebKit/win:
      
      Nuke the performImport() IconDatabaseClient method.
      
      * WebIconDatabase.cpp:
      * WebIconDatabase.h:
      (WebIconDatabase):
      
      Source/WebKit2:
      
      Nuke the performImport() IconDatabaseClient method.
      
      * UIProcess/WebIconDatabase.cpp:
      (WebKit):
      * UIProcess/WebIconDatabase.h:
      (WebIconDatabase):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@130128 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      87753a49
  11. 01 Oct, 2012 2 commits
  12. 28 Sep, 2012 11 commits
    • kpiascik@rim.com's avatar
      [BlackBerry] Update the value of window.devicePixelRation when it is set programmatically · f00a01c5
      kpiascik@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97512
      
      Reviewed by Rob Buis.
      
      RIM PR 213984
      Set the deviceScaleFactor of the page explicity when the
      devicePixelRatio is changed.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::recomputeVirtualViewportFromViewportArguments):
      (BlackBerry::WebKit::WebPagePrivate::didChangeSettings):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129925 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f00a01c5
    • commit-queue@webkit.org's avatar
      Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared... · fa2f0f4f
      commit-queue@webkit.org authored
      Code inside FrameLoaderClient::canShowMIMEType() implementations can be shared among different WK ports
      https://bugs.webkit.org/show_bug.cgi?id=97547
      
      Patch by Mikhail Pozdnyakov <mikhail.pozdnyakov@intel.com> on 2012-09-28
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Added MIMETypeRegistry::canShowMIMEType() function which should to be used
      to detect whether a given MIME type can be shown in a page.
      
      No new tests. No new functionality.
      
      * WebCore.exp.in: Added MIMETypeRegistry::canShowMIMEType(). Removed MIMETypeRegistry functions that no longer need to be exported.
      * platform/MIMETypeRegistry.cpp:
      (WebCore::MIMETypeRegistry::canShowMIMEType):
      (WebCore):
      * platform/MIMETypeRegistry.h:
      (MIMETypeRegistry):
      
      Source/WebKit/blackberry:
      
      Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
      inside WebCore::FrameLoaderClientBlackBerry::canShowMIMEType().
      
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::canShowMIMEType):
      
      Source/WebKit/efl:
      
      Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
      inside WebCore::FrameLoaderClientEfl::canShowMIMEType().
      
      * WebCoreSupport/FrameLoaderClientEfl.cpp:
      (WebCore::FrameLoaderClientEfl::canShowMIMEType):
      
      Source/WebKit/gtk:
      
      Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
      inside WebKit::FrameLoaderClient::canShowMIMEType().
      
      * WebCoreSupport/FrameLoaderClientGtk.cpp:
      (WebKit::FrameLoaderClient::canShowMIMEType):
      
      Source/WebKit/qt:
      
      Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
      inside WebCore::FrameLoaderClientQt::canShowMIMEType().
      
      * WebCoreSupport/FrameLoaderClientQt.cpp:
      (WebCore::FrameLoaderClientQt::canShowMIMEType):
      
      Source/WebKit/wince:
      
      Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
      inside WebKit::FrameLoaderClientWinCE::canShowMIMEType().
      
      * WebCoreSupport/FrameLoaderClientWinCE.cpp:
      (WebKit::FrameLoaderClientWinCE::canShowMIMEType):
      
      Source/WebKit2:
      
      Newly added WebCore::MIMETypeRegistry::canShowMIMEType() function is used
      inside WebKit::WebPageProxy::canShowMIMEType() and WKBundlePageCanShowMIMEType().
      
      * UIProcess/WebPageProxy.cpp:
      (WebKit::WebPageProxy::canShowMIMEType):
      * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp:
      (WKBundlePageCanShowMIMEType):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129924 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fa2f0f4f
    • rwlbuis@webkit.org's avatar
      [BlackBerry] Hard to tap on x to clear a text field · 24314427
      rwlbuis@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97923
      
      Reviewed by Antonio Gomes.
      
      PR97923
      
      Allow the shadow element for 'X' to be clickable and do not prefer
      shadow content-editable div's over the 'X'.
      
      * WebKitSupport/FatFingers.cpp:
      (BlackBerry::WebKit::FatFingers::isElementClickable):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129920 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24314427
    • tonikitoo@webkit.org's avatar
      [BlackBerry] Extend composited in-region scrolling to iframes/frames · ab23dbb5
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97922
      PR #197093
      
      Reviewed by Yong Li.
      Patch by Antonio Gomes <agomes@rim.com>
      Internaly reviewed by Arvid Nilsson.
      
      Add support for composited scrolling in a inner frame level:
      
      1) When creating an InRegionScrollableArea, for a inner scrollable frame,
      cache and camouflag the appropriated scroll layer (i.e. RenderLayerCompositor::scrollLayer);
      
      2) Differentiate what type of scroll target we are at: BlockElement or
      InnerFrame;
      
      3) Change the signature of the public methods to support and newly passed
      in ScrollTarget parameter;
      As a side note, this parameter is needed in order to know what class to static_cast
      the GraphicsLayer::client to: in the case of a composited scrollable inner frame, the client
      is a RenderLayerCompositor; in case of a composited scrollable block element, the client
      is a RenderLayerBacking.
      
      * Api/InRegionScroller.cpp:
      (BlackBerry::WebKit::InRegionScroller::setScrollPositionWebKitThread):
      (BlackBerry::WebKit::InRegionScrollerPrivate::setScrollPositionWebKitThread):
      * Api/InRegionScroller.h:
      * Api/InRegionScroller_p.h:
      (InRegionScrollerPrivate):
      * WebCoreSupport/ChromeClientBlackBerry.h:
      (WebCore::ChromeClientBlackBerry::allowedCompositingTriggers):
      * WebKitSupport/InRegionScrollableArea.cpp:
      (BlackBerry::WebKit::InRegionScrollableArea::InRegionScrollableArea):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129916 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab23dbb5
    • tonikitoo@webkit.org's avatar
      [BlackBerry] Exiting fullscreen does not set the correct scroll position · ad541503
      tonikitoo@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97917
      PR #212920
      
      Reviewed by Yong Li.
      Patch by Antonio Gomes <agomes@rim.com>
      Internally reviewed by Jacky Jiang.
      
      Restore the zoom level and scroll position at the time when know
      the fullscreen exit routine has ended (i.e. in ::setViewportSize
      instead of ::exitFullScreenForElement).
      
      Also patch caches now the scroll position instead of only the
      "x scroll position.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::setViewportSize):
      (BlackBerry::WebKit::WebPagePrivate::enterFullScreenForElement):
      (BlackBerry::WebKit::WebPagePrivate::exitFullScreenForElement):
      * Api/WebPage_p.h:
      (WebPagePrivate):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129909 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ad541503
    • tkent@chromium.org's avatar
      Clean up Localizer-related functions · 24b1fce0
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97899
      
      Reviewed by Kentaro Hara.
      
      Source/WebCore:
      
      - Rename Document::getLocalizer to getCachedLocalizer
      - Add default argument to getCachedLocalizer
      - Add Element::localizer to reduce code size
      - Rename DateTimeNumericFieldElement::localizer to localizerForOwner to
        avoid conflict with Element::localizer
      - Add Localizer::createDefault to improve code readability
      
      No new tests. This shouldn't make any behavior change.
      
      * dom/Document.h:
      (Document): Rename getLocalizer to getCachedLocalizer, and add default
      argument.
      * dom/Document.cpp:
      (WebCore::Document::getCachedLocalizer): ditto.
      
      * dom/Element.h:
      (Element): Add localizer function.
      * dom/Element.cpp:
      (WebCore::Element::localizer): Added
      
      * html/shadow/DateTimeNumericFieldElement.h:
      (DateTimeNumericFieldElement): Rename localizer to localizerForOwner.
      * html/shadow/DateTimeNumericFieldElement.cpp: ditto.
      (WebCore::DateTimeNumericFieldElement::handleKeyboardEvent):
      (WebCore::DateTimeNumericFieldElement::localizerForOwner):
      (WebCore::DateTimeNumericFieldElement::value):
      
      * platform/text/Localizer.h:
      (Localizer): Add createDefault
      (WebCore::Localizer::createDefault): Implemented.
      
      * html/BaseMultipleFieldsDateAndTimeInputType.cpp:
      (WebCore::BaseMultipleFieldsDateAndTimeInputType::updateInnerTextValue):
      Use Element::localizer.
      * html/NumberInputType.cpp:
      (WebCore::NumberInputType::localizeValue): ditto.
      (WebCore::NumberInputType::convertFromVisibleValue): ditto.
      
      Source/WebKit/blackberry:
      
      * WebCoreSupport/ColorPickerClient.cpp:
      (WebCore::ColorPickerClient::localizer): Follow Document::getLocalizer renaming.
      * WebCoreSupport/DatePickerClient.cpp:
      (WebCore::SelectPopupClient::localizer): ditto.
      * WebCoreSupport/SelectPopupClient.cpp:
      (WebCore::SelectPopupClient::localizer): ditto.
      
      Source/WebKit/chromium:
      
      * src/ColorChooserUIController.cpp:
      (WebKit::ColorChooserUIController::ColorChooserUIController):
      Use Localizer::createDefault
      * src/DateTimeChooserImpl.cpp:
      (WebKit::DateTimeChooserImpl::DateTimeChooserImpl): ditto.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129903 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      24b1fce0
    • commit-queue@webkit.org's avatar
      [BLACKBERRY] Add isVisible method to WebTapHighlight · dc39b603
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97915
      
      Patch by Genevieve Mak <gmak@rim.com> on 2012-09-28
      Reviewed by Rob Buis.
      
      Reviewed Internally By Andrew Lo
      The isVisible() method lets us avoid dispatching to the webkit thread
      if the tap highlight isn't visible.
      Always clear tap highlight on Touch up when converting Touch Events
      to Mouse Events.
      
      * Api/WebTapHighlight.h:
      * WebKitSupport/DefaultTapHighlight.h:
      (BlackBerry::WebKit::DefaultTapHighlight::isVisible):
      * WebKitSupport/TouchEventHandler.cpp:
      (BlackBerry::WebKit::TouchEventHandler::handleTouchPoint):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129901 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dc39b603
    • commit-queue@webkit.org's avatar
      [BlackBerry] Should suspend page's scripted animations when WebPage is invisible · 1d61f983
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97856
      
      Patch by Andrew Lo <anlo@rim.com> on 2012-09-28
      Reviewed by Antonio Gomes.
      
      Suspend page animations when setting WebPage invisible, resume when visible.
      Internal PR212788.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::setVisible):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129883 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d61f983
    • anilsson@rim.com's avatar
      [BlackBerry] Destroy thread-specific data for Platform::Graphics::Buffer on the right thread · 3d176a75
      anilsson@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97674
      
      Reviewed by Rob Buis.
      
      A new API was added to BlackBerry::Platform::Graphics for destroying
      thread-specific data generated on the compositing thread when we blit
      buffers. The buffers are otherwise created and destroyed on the WebKit
      thread, which doesn't give platform any opportunity to destroy the
      thread-specific data.
      
      This patch adds calls to the new API to avoid leaking resources.
      
      Reviewed internally by Jakob Petsovits and Filip Spacek.
      
      PR 214644
      
      Source/WebCore:
      
      Verified using manual testing.
      
      * plugins/blackberry/PluginViewPrivateBlackBerry.cpp:
      (WebCore::PluginViewPrivate::createBuffers):
      (WebCore::PluginViewPrivate::destroyBuffers):
      
      Source/WebKit/blackberry:
      
      * WebKitSupport/SurfacePool.cpp:
      (BlackBerry::WebKit::SurfacePool::initialize):
      (BlackBerry::WebKit::SurfacePool::createPlatformGraphicsContext):
      (BlackBerry::WebKit::SurfacePool::lockTileRenderingSurface):
      (BlackBerry::WebKit::SurfacePool::releaseTileRenderingSurface):
      (BlackBerry::WebKit::SurfacePool::initializeVisibleTileBuffer):
      (BlackBerry::WebKit::SurfacePool::createBuffers):
      (BlackBerry::WebKit::SurfacePool::releaseBuffers):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129879 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3d176a75
    • tkent@chromium.org's avatar
      Use Localizer in PagePopupController · 5aa94b50
      tkent@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=97862
      
      Reviewed by Hajime Morita.
      
      Source/WebCore:
      
      No new tests. This doesn't change any behavior.
      
      * page/PagePopupClient.h:
      (WebCore):
      (PagePopupClient): Add "localizer" member function.
      * page/PagePopupController.cpp:
      (WebCore::PagePopupController::localizeNumberString):
      Use a Localizer object provided by PagePopupClient.
      
      Source/WebKit/blackberry:
      
      We need to implement PagePopupClient::localizer. These clients know the
      host elements. Localizer implementations get Localizer objects from the
      owner documents of the elements for the browser locale.
      
      * WebCoreSupport/ColorPickerClient.cpp:
      (WebCore::ColorPickerClient::localizer): Added.
      * WebCoreSupport/ColorPickerClient.h:
      (ColorPickerClient): Declare "localizer."
      * WebCoreSupport/DatePickerClient.cpp:
      (WebCore::SelectPopupClient::localizer): Added.
      * WebCoreSupport/DatePickerClient.h:
      (DatePickerClient): Declare "localizer."
      * WebCoreSupport/SelectPopupClient.cpp:
      (WebCore::SelectPopupClient::localizer): Added.
      * WebCoreSupport/SelectPopupClient.h:
      (SelectPopupClient): Declare "localizer."
      
      Source/WebKit/chromium:
      
      We need to implement PagePopupClient::localizer. The current
      implementations of localizer functions always return Localizer objects
      for the browser locale. It's ok because other locale-dependent stuff in
      PagePopup uses the browser locale, not element locale. We might want to
      update this behavior later for testing i18n behavior in PagePopup.
      
      * src/ColorChooserUIController.cpp:
      (WebKit::ColorChooserUIController::ColorChooserUIController):
      Initialize m_localizer with the browser default locale.
      (WebKit::ColorChooserUIController::localizer):
      Returns m_localizer.
      * src/ColorChooserUIController.h:
      (ColorChooserUIController): Declare localizer function and m_localizer.
      
      * src/DateTimeChooserImpl.cpp:
      (WebKit::DateTimeChooserImpl::DateTimeChooserImpl):
      Initialize m_localizer with the browser default locale.
      (WebKit::DateTimeChooserImpl::localizer):
      Returns m_localizer.
      * src/DateTimeChooserImpl.h:
      (DateTimeChooserImpl): Declare localizer function and m_localizer.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129860 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      5aa94b50
    • charles.wei@torchmobile.com.cn's avatar
      Empty URL gets through to acceptNavigationRequest() · b0fa7c81
      charles.wei@torchmobile.com.cn authored
      https://bugs.webkit.org/show_bug.cgi?id=97076
      
      Reviewed by George Staikos.
      
      Invalid URLs in iframe src results in an empty URL in platform request, we should reject
      such URL as early as we identify it.
      
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::dispatchDecidePolicyForNavigationAction):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129853 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      b0fa7c81
  13. 26 Sep, 2012 1 commit
    • jpetsovits@rim.com's avatar
      [BlackBerry] Remove blitContents() in favor of blitVisibleContents(). · c3bba8d0
      jpetsovits@rim.com authored
      https://bugs.webkit.org/show_bug.cgi?id=97718
      
      Reviewed by Antonio Gomes.
      
      After the last calling sites of blitContents() have
      been removed or reworked, the actual method itself
      can now retire. All blits now go through
      blitVisibleContents(). The knowledge that we always
      blit the full visible surface can facilitate further
      optimizations; we will get to that in time.
      
      * Api/BackingStore.cpp:
      (BlackBerry::WebKit::BackingStorePrivate::suspendScreenAndBackingStoreUpdates):
      (BlackBerry::WebKit::BackingStorePrivate::resumeScreenAndBackingStoreUpdates):
      (BlackBerry::WebKit::BackingStorePrivate::blitVisibleContents):
      * Api/BackingStore.h:
      * Api/BackingStore_p.h:
      (BackingStorePrivate):
      * WebCoreSupport/FrameLoaderClientBlackBerry.cpp:
      (WebCore::FrameLoaderClientBlackBerry::transitionToCommittedForNewPage):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129706 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c3bba8d0