1. 29 Mar, 2012 40 commits
    • caio.oliveira@openbossa.org's avatar
      HashMap<>::add should return a more descriptive object · 4c11ee05
      caio.oliveira@openbossa.org authored
      https://bugs.webkit.org/show_bug.cgi?id=71063
      
      Reviewed by Ryosuke Niwa.
      
      Source/JavaScriptCore:
      
      Update code to use AddResult instead of a pair. Note that since WeakGCMap wraps
      the iterator type, there's a need for its own AddResult type -- instantiated from
      HashTableAddResult template class.
      
      * API/JSCallbackObject.h:
      (JSC::JSCallbackObjectData::JSPrivatePropertyMap::setPrivateProperty):
      * API/JSClassRef.cpp:
      (OpaqueJSClass::contextData):
      * 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/DFGAssemblyHelpers.cpp:
      (JSC::DFG::AssemblyHelpers::decodedCodeMapFor):
      * dfg/DFGByteCodeParser.cpp:
      (JSC::DFG::ByteCodeParser::cellConstant):
      (JSC::DFG::ByteCodeParser::InlineStackEntry::InlineStackEntry):
      * jit/JITStubs.cpp:
      (JSC::JITThunks::ctiStub):
      (JSC::JITThunks::hostFunctionStub):
      * parser/Parser.cpp:
      (JSC::::parseStrictObjectLiteral):
      * parser/Parser.h:
      (JSC::Scope::declareParameter):
      * runtime/Identifier.cpp:
      (JSC::Identifier::add):
      (JSC::Identifier::add8):
      (JSC::Identifier::addSlowCase):
      * runtime/Identifier.h:
      (JSC::Identifier::add):
      (JSC::IdentifierTable::add):
      * runtime/JSArray.cpp:
      (JSC::SparseArrayValueMap::add):
      (JSC::SparseArrayValueMap::put):
      (JSC::SparseArrayValueMap::putDirect):
      (JSC::JSArray::enterDictionaryMode):
      (JSC::JSArray::defineOwnNumericProperty):
      * runtime/JSArray.h:
      (SparseArrayValueMap):
      * runtime/PropertyNameArray.cpp:
      (JSC::PropertyNameArray::add):
      * runtime/StringRecursionChecker.h:
      (JSC::StringRecursionChecker::performCheck):
      * runtime/Structure.cpp:
      (JSC::StructureTransitionTable::add):
      * runtime/WeakGCMap.h:
      (WeakGCMap):
      (JSC::WeakGCMap::add):
      (JSC::WeakGCMap::set):
      * tools/ProfileTreeNode.h:
      (JSC::ProfileTreeNode::sampleChild):
      
      Source/WebCore:
      
      Update code to use AddResult instead of a pair. No new tests, just a refactoring.
      
      * Modules/webdatabase/SQLTransactionCoordinator.cpp:
      (WebCore::SQLTransactionCoordinator::acquireLock):
      * Modules/webdatabase/chromium/QuotaTracker.cpp:
      (WebCore::QuotaTracker::updateDatabaseSize):
      * bindings/js/DOMObjectHashTableMap.h:
      (WebCore::DOMObjectHashTableMap::get):
      * bindings/js/JSDOMBinding.cpp:
      (WebCore::cacheDOMStructure):
      * bindings/js/JSDOMBinding.h:
      (WebCore::cacheWrapper):
      * bindings/js/JSDOMGlobalObject.h:
      (WebCore::getDOMConstructor):
      * bindings/js/PageScriptDebugServer.cpp:
      (WebCore::PageScriptDebugServer::addListener):
      * bindings/js/ScriptDebugServer.cpp:
      (WebCore::ScriptDebugServer::setBreakpoint):
      * bindings/js/SerializedScriptValue.cpp:
      (WebCore::CloneSerializer::startObjectInternal):
      (WebCore::CloneSerializer::write):
      * bindings/v8/NPV8Object.cpp:
      (WebCore::npCreateV8ScriptObject):
      * bridge/IdentifierRep.cpp:
      (WebCore::IdentifierRep::get):
      * bridge/NP_jsobject.cpp:
      (ObjectMap::add):
      * css/CSSComputedStyleDeclaration.cpp:
      (WebCore::logUnimplementedPropertyID):
      * css/CSSFontFaceSource.cpp:
      (WebCore::CSSFontFaceSource::getFontData):
      * css/CSSFontSelector.cpp:
      (WebCore::CSSFontSelector::addFontFaceRule):
      (WebCore::CSSFontSelector::getFontData):
      * css/CSSSegmentedFontFace.cpp:
      (WebCore::CSSSegmentedFontFace::getFontData):
      * css/CSSStyleApplyProperty.cpp:
      (WebCore::ApplyPropertyCounter::applyInheritValue):
      (WebCore::ApplyPropertyCounter::applyValue):
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::appendAuthorStylesheets):
      (WebCore::CSSStyleSelector::collectMatchingRulesForList):
      * css/CSSValuePool.cpp:
      (WebCore::CSSValuePool::createIdentifierValue):
      (WebCore::CSSValuePool::createColorValue):
      (WebCore::CSSValuePool::createValue):
      (WebCore::CSSValuePool::createFontFamilyValue):
      (WebCore::CSSValuePool::createFontFaceValue):
      * dom/CheckedRadioButtons.cpp:
      (WebCore::RadioButtonGroup::add):
      (WebCore::CheckedRadioButtons::addButton):
      * dom/ChildListMutationScope.cpp:
      (WebCore::ChildListMutationScope::MutationAccumulationRouter::incrementScopingLevel):
      * dom/Document.cpp:
      (WebCore::Document::windowNamedItems):
      (WebCore::Document::documentNamedItems):
      (WebCore::Document::getCSSCanvasElement):
      (WebCore::Document::getItems):
      * dom/DocumentEventQueue.cpp:
      (WebCore::DocumentEventQueue::enqueueEvent):
      (WebCore::DocumentEventQueue::enqueueOrDispatchScrollEvent):
      (WebCore::DocumentEventQueue::pendingEventTimerFired):
      * dom/DocumentOrderedMap.cpp:
      (WebCore::DocumentOrderedMap::add):
      * dom/EventListenerMap.cpp:
      (WebCore::EventListenerMap::add):
      * dom/Node.cpp:
      (WebCore::Node::dumpStatistics):
      (WebCore::Node::getElementsByTagName):
      (WebCore::Node::getElementsByTagNameNS):
      (WebCore::Node::getElementsByName):
      (WebCore::Node::getElementsByClassName):
      (WebCore::Node::collectMatchingObserversForMutation):
      * dom/QualifiedName.cpp:
      (WebCore::QualifiedName::init):
      * dom/SpaceSplitString.cpp:
      (WebCore::SpaceSplitStringData::create):
      * dom/StyledElement.cpp:
      (WebCore::StyledElement::updateAttributeStyle):
      * html/HTMLCollection.cpp:
      (WebCore::HTMLCollection::append):
      * inspector/DOMPatchSupport.cpp:
      (WebCore::DOMPatchSupport::diff):
      * inspector/InspectorCSSAgent.cpp:
      (WebCore::SelectorProfile::commitSelector):
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::performSearch):
      * inspector/InspectorDebuggerAgent.cpp:
      (WebCore::InspectorDebuggerAgent::resolveBreakpoint):
      * inspector/InspectorValues.h:
      (WebCore::InspectorObject::setValue):
      (WebCore::InspectorObject::setObject):
      (WebCore::InspectorObject::setArray):
      * loader/appcache/ApplicationCacheGroup.cpp:
      (WebCore::ApplicationCacheGroup::addEntry):
      * loader/appcache/ApplicationCacheStorage.cpp:
      (WebCore::ApplicationCacheStorage::findOrCreateCacheGroup):
      * page/EventHandler.cpp:
      (WebCore::EventHandler::handleTouchEvent):
      * page/PageGroup.cpp:
      (WebCore::PageGroup::pageGroup):
      (WebCore::PageGroup::addVisitedLink):
      (WebCore::PageGroup::addUserScriptToWorld):
      (WebCore::PageGroup::addUserStyleSheetToWorld):
      * page/SecurityPolicy.cpp:
      (WebCore::SecurityPolicy::addOriginAccessWhitelistEntry):
      * page/TouchAdjustment.cpp:
      (WebCore::TouchAdjustment::compileSubtargetList):
      * platform/cf/BinaryPropertyList.cpp:
      (WebCore::BinaryPropertyListPlan::writeInteger):
      (WebCore::BinaryPropertyListPlan::writeString):
      (WebCore::BinaryPropertyListPlan::writeIntegerArray):
      * platform/graphics/blackberry/LayerTiler.cpp:
      (WebCore::LayerTiler::addTileJob):
      * platform/graphics/ca/GraphicsLayerCA.cpp:
      (WebCore::GraphicsLayerCA::findOrMakeClone):
      * platform/graphics/ca/mac/TileCache.mm:
      (WebCore::TileCache::revalidateTiles):
      * platform/graphics/ca/win/LayerChangesFlusher.cpp:
      (WebCore::LayerChangesFlusher::flushPendingLayerChangesSoon):
      * platform/graphics/chromium/FontUtilsChromiumWin.cpp:
      (WebCore::getDerivedFontData):
      * platform/graphics/chromium/cc/CCLayerAnimationController.cpp:
      (WebCore::CCLayerAnimationController::startAnimationsWaitingForTargetAvailability):
      * platform/graphics/mac/ComplexTextControllerATSUI.cpp:
      (WebCore::initializeATSUStyle):
      * platform/graphics/mac/SimpleFontDataCoreText.cpp:
      (WebCore::SimpleFontData::getCFStringAttributes):
      * platform/graphics/mac/SimpleFontDataMac.mm:
      (WebCore::SimpleFontData::canRenderCombiningCharacterSequence):
      * platform/graphics/wince/FontPlatformData.cpp:
      (WebCore::FixedSizeFontData::create):
      * platform/gtk/RenderThemeGtk3.cpp:
      (WebCore::getStyleContext):
      * platform/mac/ThreadCheck.mm:
      (WebCoreReportThreadViolation):
      * platform/network/HTTPHeaderMap.cpp:
      (WebCore::HTTPHeaderMap::add):
      * platform/network/HTTPHeaderMap.h:
      (HTTPHeaderMap):
      * platform/network/ResourceRequestBase.cpp:
      (WebCore::ResourceRequestBase::addHTTPHeaderField):
      * plugins/PluginDatabase.cpp:
      (WebCore::PluginDatabase::add):
      (WebCore::PluginDatabase::loadPersistentMetadataCache):
      * plugins/win/PluginDatabaseWin.cpp:
      (WebCore::PluginDatabase::getPluginPathsInDirectories):
      * rendering/RenderBlock.cpp:
      (WebCore::RenderBlock::addPercentHeightDescendant):
      * rendering/RenderBlockLineLayout.cpp:
      (WebCore::setLogicalWidthForTextRun):
      * rendering/RenderNamedFlowThread.cpp:
      (WebCore::RenderNamedFlowThread::addDependencyOnFlowThread):
      * rendering/RenderRegion.cpp:
      (WebCore::RenderRegion::setRenderBoxRegionInfo):
      * rendering/svg/RenderSVGResourceGradient.cpp:
      (WebCore::RenderSVGResourceGradient::applyResource):
      * rendering/svg/RenderSVGResourcePattern.cpp:
      (WebCore::RenderSVGResourcePattern::applyResource):
      * storage/StorageMap.cpp:
      (WebCore::StorageMap::setItem):
      (WebCore::StorageMap::importItem):
      * svg/SVGDocumentExtensions.cpp:
      (WebCore::SVGDocumentExtensions::addPendingResource):
      * xml/XMLHttpRequest.cpp:
      (WebCore::XMLHttpRequest::setRequestHeaderInternal):
      * xml/XPathFunctions.cpp:
      (WebCore::XPath::FunId::evaluate):
      * xml/XPathPath.cpp:
      (WebCore::XPath::LocationPath::evaluate):
      * xml/XPathPredicate.cpp:
      (WebCore::XPath::Union::evaluate):
      
      Source/WebKit/chromium:
      
      Update code to use AddResult instead of a pair.
      
      * src/WebHTTPLoadInfo.cpp:
      (WebKit::addHeader):
      * src/WebURLResponse.cpp:
      (WebKit::WebURLResponse::addHTTPHeaderField):
      
      Source/WebKit/mac:
      
      Update code to use AddResult instead of a pair.
      
      * Plugins/Hosted/NetscapePluginHostManager.mm:
      (WebKit::NetscapePluginHostManager::hostForPlugin):
      * Plugins/Hosted/ProxyInstance.mm:
      (WebKit::ProxyInstance::methodsNamed):
      (WebKit::ProxyInstance::fieldNamed):
      * WebCoreSupport/WebNotificationClient.mm:
      (WebNotificationClient::show):
      
      Source/WebKit/win:
      
      Update code to use AddResult instead of a pair.
      
      * WebKitCOMAPI.cpp:
      (classFactory):
      
      Source/WebKit2:
      
      Update code to use AddResult instead of a pair.
      
      * Platform/CoreIPC/ArgumentCoders.h:
      * Platform/CoreIPC/Connection.cpp:
      (CoreIPC::Connection::SyncMessageState::getOrCreate):
      * Shared/MutableDictionary.cpp:
      (WebKit::MutableDictionary::add):
      (WebKit::MutableDictionary::set):
      * Shared/UserMessageCoders.h:
      (WebKit::UserMessageDecoder::baseDecode):
      * Shared/mac/CommandLineMac.cpp:
      (WebKit::CommandLine::parse):
      * UIProcess/API/mac/WKPrintingView.mm:
      (pageDidDrawToPDF):
      * UIProcess/API/mac/WKView.mm:
      (-[WKView validateUserInterfaceItem:]):
      * UIProcess/WebProcessProxy.cpp:
      (WebKit::WebProcessProxy::addBackForwardItem):
      * WebProcess/InjectedBundle/DOM/InjectedBundleNodeHandle.cpp:
      (WebKit::InjectedBundleNodeHandle::getOrCreate):
      * WebProcess/InjectedBundle/DOM/InjectedBundleRangeHandle.cpp:
      (WebKit::InjectedBundleRangeHandle::getOrCreate):
      * WebProcess/Notifications/WebNotificationManager.cpp:
      (WebKit::WebNotificationManager::show):
      * WebProcess/WebProcess.cpp:
      (WebKit::WebProcess::createWebPage):
      (WebKit::WebProcess::webPageGroup):
      
      Source/WTF:
      
      Make HashTable<>::add() and derivate functions return an AddResult struct instead
      of a pair. This struct contains contains 'iterator' and 'isNewEntry' members, that are
      more readable at callsites than previous 'first' and 'second'.
      
      * wtf/HashCountedSet.h:
      (HashCountedSet):
      (WTF::::add):
      * wtf/HashMap.h:
      (HashMap):
      (WTF):
      (WTF::::set):
      * wtf/HashSet.h:
      (HashSet):
      (WTF::::add):
      (WTF):
      * wtf/HashTable.h:
      (WTF::HashTableAddResult::HashTableAddResult):
      (HashTableAddResult):
      (WTF):
      (HashTable):
      (WTF::HashTable::add):
      (WTF::::add):
      (WTF::::addPassingHashCode):
      * wtf/ListHashSet.h:
      (ListHashSet):
      (WTF::::add):
      (WTF::::insertBefore):
      * wtf/RefPtrHashMap.h:
      (WTF):
      (WTF::::set):
      * wtf/Spectrum.h:
      (WTF::Spectrum::add):
      * wtf/WTFThreadData.cpp:
      (JSC::IdentifierTable::add):
      * wtf/WTFThreadData.h:
      (IdentifierTable):
      * wtf/text/AtomicString.cpp:
      (WTF::addToStringTable):
      (WTF::AtomicString::addSlowCase):
      
      Tools:
      
      Update code to use AddResult instead of a pair.
      
      * DumpRenderTree/mac/LayoutTestControllerMac.mm:
      (LayoutTestController::evaluateScriptInIsolatedWorld):
      * DumpRenderTree/win/LayoutTestControllerWin.cpp:
      (LayoutTestController::evaluateScriptInIsolatedWorld):
      * WebKitTestRunner/InjectedBundle/LayoutTestController.cpp:
      (WTR::LayoutTestController::evaluateScriptInIsolatedWorld):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112555 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4c11ee05
    • caseq@chromium.org's avatar
      Web Inspector: improve window selection accuracy in vertical overview of timeline panel · 207da1c2
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82625
      
      Reviewed by Vsevolod Vlasov.
      
      * inspector/front-end/TimelineOverviewPane.js:
      (WebInspector.TimelineVerticalOverview):
      (WebInspector.TimelineVerticalOverview.prototype._renderBars): preserve actual padding used while rendering bars.
      (WebInspector.TimelineVerticalOverview.prototype.getWindowTimes): account for outer and inter-bars padding when calculating bar offsets.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112554 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      207da1c2
    • commit-queue@webkit.org's avatar
      GEOLOCATION should be implemented as Page Supplement · d35fc233
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82228
      
      Patch by Mark Pilgrim <pilgrim@chromium.org> on 2012-03-29
      Reviewed by Adam Barth.
      
      Source/WebCore:
      
      Geolocation now uses the Supplement interface instead of
      keeping an instance variable on Page. This allows us to
      remove all geolocation-related functions, variables, and
      ifdefs out of Page and into Modules/geolocation/.
      
      * Modules/geolocation/Geolocation.cpp:
      (WebCore::Geolocation::stop):
      (WebCore::Geolocation::lastPosition):
      (WebCore::Geolocation::requestPermission):
      (WebCore::Geolocation::startUpdating):
      (WebCore::Geolocation::stopUpdating):
      * Modules/geolocation/Geolocation.h:
      (WebCore):
      * Modules/geolocation/GeolocationController.cpp:
      (WebCore::GeolocationController::supplementName):
      (WebCore):
      (WebCore::provideGeolocationTo):
      * Modules/geolocation/GeolocationController.h:
      (GeolocationController):
      (WebCore::GeolocationController::from):
      * WebCore.exp.in:
      * page/GeolocationClient.h:
      (WebCore):
      (GeolocationClient):
      * page/Page.cpp:
      (WebCore::Page::Page):
      (WebCore::Page::PageClients::PageClients):
      * page/Page.h:
      (WebCore):
      (PageClients):
      (Page):
      
      Source/WebKit/blackberry:
      
      Geolocation is now a Supplement in Page so the interface
      has changed for setting up the page's geolocation client
      initially and accessing the controller later.
      
      * Api/WebPage.cpp:
      (BlackBerry::WebKit::WebPagePrivate::WebPagePrivate):
      (BlackBerry::WebKit::WebPagePrivate::init):
      * WebCoreSupport/GeolocationControllerClientBlackBerry.cpp:
      (GeolocationControllerClientBlackBerry::onLocationUpdate):
      (GeolocationControllerClientBlackBerry::onLocationError):
      * WebKitSupport/DumpRenderTreeSupport.cpp:
      (DumpRenderTreeSupport::numberOfPendingGeolocationPermissionRequests):
      (DumpRenderTreeSupport::resetGeolocationMock):
      (DumpRenderTreeSupport::setMockGeolocationError):
      (DumpRenderTreeSupport::setMockGeolocationPermission):
      (DumpRenderTreeSupport::setMockGeolocationPosition):
      
      Source/WebKit/chromium:
      
      Geolocation is now a Supplement in Page so the interface
      has changed for setting up the page's geolocation client
      initially and accessing the controller later.
      
      * src/WebViewImpl.cpp:
      (WebKit::WebViewImpl::WebViewImpl):
      
      Source/WebKit/gtk:
      
      Geolocation is now a Supplement in Page so the interface
      has changed for setting up the page's geolocation client
      initially and accessing the controller later.
      
      * WebCoreSupport/DumpRenderTreeSupportGtk.cpp:
      (DumpRenderTreeSupportGtk::resetGeolocationClientMock):
      (DumpRenderTreeSupportGtk::setMockGeolocationPermission):
      (DumpRenderTreeSupportGtk::setMockGeolocationPosition):
      (DumpRenderTreeSupportGtk::setMockGeolocationError):
      (DumpRenderTreeSupportGtk::numberOfPendingGeolocationPermissionRequests):
      * WebCoreSupport/GeolocationClientGtk.cpp:
      (WebKit::GeolocationClient::updatePosition):
      (WebKit::GeolocationClient::errorOccured):
      * webkit/webkitwebview.cpp:
      (webkit_web_view_init):
      
      Source/WebKit/mac:
      
      Geolocation is now a Supplement in Page so the interface
      has changed for setting up the page's geolocation client
      initially and accessing the controller later.
      
      * WebView/WebView.mm:
      (-[WebView _commonInitializationWithFrameName:groupName:]):
      (-[WebView _geolocationDidChangePosition:]):
      (-[WebView _geolocationDidFailWithError:]):
      
      Source/WebKit/qt:
      
      Geolocation is now a Supplement in Page so the interface
      has changed for setting up the page's geolocation client
      initially and accessing the controller later.
      
      * Api/qwebpage.cpp:
      (QWebPagePrivate::QWebPagePrivate):
      * WebCoreSupport/DumpRenderTreeSupportQt.cpp:
      (DumpRenderTreeSupportQt::resetGeolocationMock):
      (DumpRenderTreeSupportQt::setMockGeolocationPermission):
      (DumpRenderTreeSupportQt::setMockGeolocationPosition):
      (DumpRenderTreeSupportQt::setMockGeolocationError):
      (DumpRenderTreeSupportQt::numberOfPendingGeolocationPermissionRequests):
      * WebCoreSupport/GeolocationClientQt.cpp:
      (WebCore::GeolocationClientQt::positionUpdated):
      (WebCore::GeolocationClientQt::startUpdating):
      
      Source/WebKit/win:
      
      Geolocation is now a Supplement in Page so the interface
      has changed for setting up the page's geolocation client
      initially and accessing the controller later.
      
      * WebView.cpp:
      (WebView::initWithFrame):
      (WebView::geolocationDidChangePosition):
      (WebView::geolocationDidFailWithError):
      
      Source/WebKit2:
      
      Geolocation is now a Supplement in Page so the interface
      has changed for setting up the page's geolocation client
      initially and accessing the controller later.
      
      * WebProcess/Geolocation/WebGeolocationManager.cpp:
      (WebKit::WebGeolocationManager::didChangePosition):
      (WebKit::WebGeolocationManager::didFailToDeterminePosition):
      * WebProcess/InjectedBundle/InjectedBundle.cpp:
      (WebKit::InjectedBundle::setGeoLocationPermission):
      * WebProcess/WebPage/WebPage.cpp:
      (WebKit::WebPage::WebPage):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112553 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d35fc233
    • loislo@chromium.org's avatar
      Web Inspector: chromium: DRT --no-timeout option doesn't work. · 63f7bf76
      loislo@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82608
      
      Initial value for m_timeout was initialized in constructor and was overwritten in DRT::main.
      This was broken by r112354 and the sequence became opposite.
      
      Reviewed by Yury Semikhatsky.
      
      * DumpRenderTree/chromium/TestShell.cpp:
      (TestShell::TestShell):
      (TestShell::initialize):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112552 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      63f7bf76
    • commit-queue@webkit.org's avatar
      Sync up WebKit TraceEvent.h with chromium trace_event.h · 1d79c691
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82527
      
      Patch by John Bates <jbates@google.com> on 2012-03-29
      Reviewed by James Robinson.
      
      * platform/chromium/TraceEvent.h:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112551 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1d79c691
    • commit-queue@webkit.org's avatar
      [chromium] Split off tiled layer constructs for unit tests into a common header · 06a44f0d
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82425
      
      Patch by Dana Jansens <danakj@chromium.org> on 2012-03-29
      Reviewed by Adrienne Walker.
      
      * WebKit.gypi:
      * tests/CCTiledLayerTestCommon.cpp: Added.
      (WebKitTests):
      (WebKitTests::FakeLayerTextureUpdater::Texture::Texture):
      (WebKitTests::FakeLayerTextureUpdater::Texture::~Texture):
      (WebKitTests::FakeLayerTextureUpdater::Texture::updateRect):
      (WebKitTests::FakeLayerTextureUpdater::Texture::prepareRect):
      (WebKitTests::FakeLayerTextureUpdater::FakeLayerTextureUpdater):
      (WebKitTests::FakeLayerTextureUpdater::~FakeLayerTextureUpdater):
      (WebKitTests::FakeLayerTextureUpdater::prepareToUpdate):
      (WebKitTests::FakeLayerTextureUpdater::setRectToInvalidate):
      (WebKitTests::FakeLayerTextureUpdater::createTexture):
      (WebKitTests::FakeCCTiledLayerImpl::FakeCCTiledLayerImpl):
      (WebKitTests::FakeCCTiledLayerImpl::~FakeCCTiledLayerImpl):
      (WebKitTests::FakeTiledLayerChromium::FakeTiledLayerChromium):
      (WebKitTests::FakeTiledLayerChromium::~FakeTiledLayerChromium):
      (WebKitTests::FakeTiledLayerChromium::setNeedsDisplayRect):
      (WebKitTests::FakeTiledLayerChromium::paintContentsIfDirty):
      (WebKitTests::FakeTiledLayerWithScaledBounds::FakeTiledLayerWithScaledBounds):
      (WebKitTests::FakeCCTextureUpdater::FakeCCTextureUpdater):
      * tests/CCTiledLayerTestCommon.h: Added.
      (WebKitTests):
      (FakeLayerTextureUpdater):
      (Texture):
      (WebKitTests::FakeLayerTextureUpdater::sampledTexelFormat):
      (WebKitTests::FakeLayerTextureUpdater::lastUpdateRect):
      (WebKitTests::FakeLayerTextureUpdater::prepareCount):
      (WebKitTests::FakeLayerTextureUpdater::clearPrepareCount):
      (WebKitTests::FakeLayerTextureUpdater::updateCount):
      (WebKitTests::FakeLayerTextureUpdater::clearUpdateCount):
      (WebKitTests::FakeLayerTextureUpdater::updateRect):
      (WebKitTests::FakeLayerTextureUpdater::prepareRectCount):
      (WebKitTests::FakeLayerTextureUpdater::clearPrepareRectCount):
      (WebKitTests::FakeLayerTextureUpdater::prepareRect):
      (WebKitTests::FakeLayerTextureUpdater::setOpaquePaintRect):
      (FakeCCTiledLayerImpl):
      (FakeTiledLayerChromium):
      (WebKitTests::FakeTiledLayerChromium::tileSize):
      (WebKitTests::FakeTiledLayerChromium::lastNeedsDisplayRect):
      (WebKitTests::FakeTiledLayerChromium::textureManager):
      (WebKitTests::FakeTiledLayerChromium::fakeLayerTextureUpdater):
      (WebKitTests::FakeTiledLayerChromium::updateRect):
      (WebKitTests::FakeTiledLayerChromium::textureUpdater):
      (WebKitTests::FakeTiledLayerChromium::createTextureUpdaterIfNeeded):
      (FakeTiledLayerWithScaledBounds):
      (WebKitTests::FakeTiledLayerWithScaledBounds::setContentBounds):
      (WebKitTests::FakeTiledLayerWithScaledBounds::contentBounds):
      (FakeTextureAllocator):
      (WebKitTests::FakeTextureAllocator::createTexture):
      (WebKitTests::FakeTextureAllocator::deleteTexture):
      (FakeTextureCopier):
      (WebKitTests::FakeTextureCopier::copyTexture):
      (FakeCCTextureUpdater):
      (WebKitTests::FakeCCTextureUpdater::textureAllocator):
      * tests/TextureManagerTest.cpp:
      * tests/TiledLayerChromiumTest.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      06a44f0d
    • pfeldman@chromium.org's avatar
      Web Inspector: subtree disapears from <iframe> after loading · 25929ceb
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=76552
      
      Reviewed by Yury Semikhatsky.
      
      Source/WebCore:
      
      The problem was that content document subtree was not unbound upon iframe re-push.
      Upon owner element refresh content document was not sent to the frontend
      since backend assumed that front-end has already had the up-to-date version.
      
      Test: inspector/elements/iframe-load-event.html
      
      * inspector/InspectorDOMAgent.cpp:
      (WebCore::InspectorDOMAgent::loadEventFired):
      
      LayoutTests:
      
      * inspector/elements/iframe-load-event-expected.txt: Added.
      * inspector/elements/iframe-load-event.html: Added.
      * inspector/elements/resources/iframe-load-event-iframe-1.html: Added.
      * inspector/elements/resources/iframe-load-event-iframe-2.html: Added.
      * inspector/elements/resources/iframe-load-event-iframe.js: Added.
      (loadSecondIFrame):
      (test.step1.nodeInserted):
      (test.step1):
      (test.step2):
      (test):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112549 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      25929ceb
    • commit-queue@webkit.org's avatar
      [chromium] Remove unneeded code+fixmes from CCOcclusionTracker · 99d6b5c0
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82380
      
      Patch by Dana Jansens <danakj@chromium.org> on 2012-03-29
      Reviewed by Adrienne Walker.
      
      Source/WebCore:
      
      The current occlusion was exposed on the occlusion tracker for the
      transition over to culling 2.0 which has landed, so we can remove
      it now. It still had one use in unit tests which is moved to a
      test subclass.
      
      Above test subclass already existed in the occlusion tracker tests,
      so pulled it out to a common file CCOcclusionTrackerTestCommon.h
      so that other unit tests can use it to get at occlusion internals.
      
      * platform/graphics/chromium/cc/CCOcclusionTracker.cpp:
      (WebCore):
      * platform/graphics/chromium/cc/CCOcclusionTracker.h:
      
      Source/WebKit/chromium:
      
      * WebKit.gypi:
      * tests/CCLayerTreeHostTest.cpp:
      (WTF::TestLayerChromium::paintContentsIfDirty):
      * tests/CCOcclusionTrackerTest.cpp:
      (WebKitTests::TestCCOcclusionTrackerWithScissor::TestCCOcclusionTrackerWithScissor):
      (WebKitTests::CCOcclusionTrackerTestIdentityTransforms::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestRotatedChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestTranslatedChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestChildInRotatedChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestVisitTargetTwoTimes::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestSurfaceRotatedOffAxis::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestSurfaceWithTwoOpaqueChildren::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblings::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestOverlappingSurfaceSiblingsWithTwoTransforms::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestFilters::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOutsideChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOutsideChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestLayerScissorRectPartlyOverChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestScreenScissorRectPartlyOverChild::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestLayerScissorRectOverNothing::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestScreenScissorRectOverNothing::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestLayerScissorRectForLayerOffOrigin::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionEmpty::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestOpaqueContentsRegionNonEmpty::runMyTest):
      (WebKitTests::CCOcclusionTrackerTest3dTransform::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestPerspectiveTransform::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestPerspectiveTransformBehindCamera::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestAnimationOpacity1OnMainThread::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestAnimationOpacity0OnMainThread::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestAnimationTranslateOnMainThread::runMyTest):
      (WebKitTests::CCOcclusionTrackerTestSurfaceOcclusionTranslatesToParent::runMyTest):
      * tests/CCOcclusionTrackerTestCommon.h: Added.
      (WebKitTests):
      (TestCCOcclusionTrackerBase):
      (WebKitTests::TestCCOcclusionTrackerBase::TestCCOcclusionTrackerBase):
      (WebKitTests::TestCCOcclusionTrackerBase::occlusionInScreenSpace):
      (WebKitTests::TestCCOcclusionTrackerBase::occlusionInTargetSurface):
      (WebKitTests::TestCCOcclusionTrackerBase::setOcclusionInScreenSpace):
      (WebKitTests::TestCCOcclusionTrackerBase::setOcclusionInTargetSurface):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112548 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      99d6b5c0
    • commit-queue@webkit.org's avatar
      <http://webkit.org/b/82558> Toggling <input type="range"> readonly or disabled... · af46dd27
      commit-queue@webkit.org authored
      <http://webkit.org/b/82558> Toggling <input type="range"> readonly or disabled state while active breaks all click events
      
      Source/WebCore:
      
      Test: fast/forms/range/range-drag-when-toggled-disabled.html
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-03-29
      Reviewed by Kent Tamura.
      
      * html/shadow/SliderThumbElement.cpp:
      (WebCore::SliderThumbElement::defaultEventHandler):
      A slider can toggle its readonly or disabled state while in the middle
      of dragging, in those cases we should cancel the drag and perform cleanup.
      
      LayoutTests:
      
      Patch by Joseph Pecoraro <pecoraro@apple.com> on 2012-03-29
      Reviewed by Kent Tamura.
      
      * fast/forms/range/range-drag-when-toggled-disabled-expected.txt: Added.
      * fast/forms/range/range-drag-when-toggled-disabled.html: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112547 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      af46dd27
    • adamk@chromium.org's avatar
      Factor out common post-insertion logic in ContainerNode · dead73d2
      adamk@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82544
      
      Reviewed by Ryosuke Niwa.
      
      appendChild, insertBefore, and replaceChild all share a great deal of logic.
      This patch factors out the "post-insertion" logic that deals with
      notifying parents that their children changed and notifying children
      that they've been added to the tree.
      
      Besides reducing code duplication, this is in preparation for moving
      this post-insertion notification later in the insertion process.
      
      No new tests, no change in behavior.
      
      * dom/ContainerNode.cpp:
      (WebCore):
      (WebCore::ContainerNode::insertBefore): Factor out shared logic, remove unnecessary "prev" variable.
      (WebCore::ContainerNode::replaceChild): ditto.
      (WebCore::ContainerNode::appendChild): ditto.
      (WebCore::updateTreeAfterInsertion): New helper method encapsulating shared logic.
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112546 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      dead73d2
    • enrica@apple.com's avatar
      Updating test_expectations with new failures after r112484. · 81f988c7
      enrica@apple.com authored
      The failing tests need a new baseline.
      This is tracked by https://bugs.webkit.org/show_bug.cgi?id=82626
      
      * platform/mac/test_expectations.txt:
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112545 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      81f988c7
    • tony@chromium.org's avatar
      Need to implement flex-line-pack · 1cbfd64e
      tony@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=70794
      
      Reviewed by Ojan Vafai.
      
      Source/WebCore:
      
      Tests: css3/flexbox/multiline-line-pack-horizontal-column.html
             css3/flexbox/multiline-line-pack.html
      
      * rendering/RenderFlexibleBox.cpp:
      (WebCore::RenderFlexibleBox::repositionLogicalHeightDependentFlexItems):
      (WebCore::initialLinePackingOffset): Similar to initialPackingOffset.
      (WebCore):
      (WebCore::linePackingSpaceBetweenChildren): Similar to packingSpaceBetweenChildren.
      (WebCore::RenderFlexibleBox::packFlexLines): Move lines based on flex-line-pack.
          Note that we don't need to relayout on stretch because
          alignChildren will do that for us (only auto size needs stretching).
      (WebCore::RenderFlexibleBox::flipForWrapReverse): Pull out the initial
          cross axis offset before calling packFlexLines because we can
          move the the line contexts.
      * rendering/RenderFlexibleBox.h:
      
      LayoutTests:
      
      Updated the old multiline tests to have -webkit-flex-line-pack: start,
      which was the previous default behavior. The correct default behavior
      is stretch.
      
      * css3/flexbox/multiline-align.html:
      * css3/flexbox/multiline-column-auto.html:
      * css3/flexbox/multiline-line-pack-expected.txt: Added.
      * css3/flexbox/multiline-line-pack-horizontal-column-expected.txt: Added.
      * css3/flexbox/multiline-line-pack-horizontal-column.html: Added.
      * css3/flexbox/multiline-line-pack.html: Added.
      * css3/flexbox/multiline-pack.html:
      * css3/flexbox/multiline-reverse-wrap-overflow.html:
      * css3/flexbox/multiline-shrink-to-fit.html:
      * css3/flexbox/multiline.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112544 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      1cbfd64e
    • kling@webkit.org's avatar
      String: Subscript operator shouldn't force conversion to 16-bit characters. · d2a175de
      kling@webkit.org authored
      <http://webkit.org/b/82613>
      
      Reviewed by Anders Carlsson.
      
      Forward String::operator[] to StringImpl::operator[] instead of indexing into characters().
      This avoid implicit conversion of 8-bit strings to 16-bit, and as an example, reduces memory
      usage on http://www.allthingsd.com/ by 360kB.
      
      * wtf/text/WTFString.h:
      (WTF::String::operator[]):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112543 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      d2a175de
    • krit@webkit.org's avatar
      Introduce CSSParserMode in all classes · 2a85e30d
      krit@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82335
      
      Unreviewed build fix.
      
      * src/WebDocument.cpp:
      (WebKit::WebDocument::insertUserStyleSheet):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112542 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      2a85e30d
    • vsevik@chromium.org's avatar
      Web Inspector: SnippetsScriptMapping should process existing snippets on load. · daaea833
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82619
      
      Reviewed by Pavel Feldman.
      
      SnippetsScriptMapping now loads existing snippets on creation.
      Otherwise scripts panel shows snippets created during current session only.
      Drive-by ScriptsNavigator closure compilation fix.
      
      * inspector/front-end/SnippetsModel.js:
      (WebInspector.SnippetsModel.prototype.set get snippets):
      (WebInspector.SnippetsScriptMapping):
      (WebInspector.SnippetsScriptMapping.prototype._handleSnippetAdded):
      (WebInspector.SnippetsScriptMapping.prototype._snippetAdded):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112541 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      daaea833
    • yurys@chromium.org's avatar
      Web Inspector: check more likely condition first in HeapSnapshot._buildAggregates · eb67264d
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82621
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/HeapSnapshot.js: selfSize === 0 is quite rare, moving this condition
      to the first place saves 1 of 6 secs on the heap profiler perf test.
      (WebInspector.HeapSnapshot.prototype._buildAggregates):
      (WebInspector.HeapSnapshot.prototype._buildDominatedNodes): root node is always the first
      one and is the only one that doesn't have dominator, so we may start iterating nodes from
      the second node and avoid additional check in the loop.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112540 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      eb67264d
    • pfeldman@chromium.org's avatar
      Web Inspector: "go to the previous panel" shortcut is painful to maintain · ae586b3e
      pfeldman@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82602
      
      Reviewed by Vsevolod Vlasov.
      
      Present go to previous panel shortcut "Cmd - Left" is painful to support since we have
      more and more free flow editing capabilities (where Cmd - Left is handled by the editor).
      Remaping it to Cmd - Option - [ (]) /  (Ctrl - Alt - [ (]) ).
      
      Drive-by: de-capitalize captions from the settings panel.
      
      * English.lproj/localizedStrings.js:
      * inspector/front-end/ConsoleView.js:
      (WebInspector.ConsoleView.prototype._registerShortcuts):
      * inspector/front-end/InspectorView.js:
      (WebInspector.InspectorView.prototype._keyDown):
      * inspector/front-end/ScriptsPanel.js:
      * inspector/front-end/TimelinePanel.js:
      (WebInspector.TimelinePanel.prototype._registerShortcuts):
      (WebInspector.TimelinePanel.prototype._contextMenu):
      * inspector/front-end/inspector.js:
      (WebInspector._registerShortcuts):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112539 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ae586b3e
    • caseq@chromium.org's avatar
      Unreviewed, rolling out r112531. · 72893a02
      caseq@chromium.org authored
      http://trac.webkit.org/changeset/112531
      https://bugs.webkit.org/show_bug.cgi?id=82616
      
      Broke timeline overview selection
      
      * inspector/front-end/TimelineOverviewPane.js:
      (WebInspector.TimelineOverviewWindow):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112538 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72893a02
    • krit@webkit.org's avatar
      Introduce CSSParserMode in all classes · 0e6f17d4
      krit@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82335
      
      Source/WebCore:
      
      Reviewed by Ryosuke Niwa.
      
      Introduce the new CSSParserMode enum to more classes. SVG classes make use of SVGAttributeMode for CSS parsing already.
      But SVGAttributeMode does not differ from CSSQuirksMode at the moment. This will change with a followup patch on bug 46112.
      
      No new tests. No change of functionality. Everything gets covered by existing tests.
      
      * css/CSSImportRule.cpp:
      (WebCore::CSSImportRule::setCSSStyleSheet):
      * css/CSSMediaRule.cpp:
      (WebCore::CSSMediaRule::insertRule):
      * css/CSSParser.cpp: Move private functions away from strict boolean and make use of CSSParserMode instead.
      (WebCore):
      (WebCore::parseColorValue):
      (WebCore::parseSimpleLengthValue):
      (WebCore::CSSParser::parseFontFaceValue):
      (WebCore::CSSParser::parseValue):
      (WebCore::CSSParser::parseColor):
      (WebCore::CSSParser::createStyleRule):
      (WebCore::CSSParser::createFontFaceRule):
      (WebCore::CSSParser::createPageRule):
      (WebCore::CSSParser::createKeyframeRule):
      * css/CSSParser.h: Removed constructor with boolean argument. We just use the CSSParserMode enum now.
      (CSSParser):
      * css/CSSParserMode.h:
      (strictToCSSParserMode): New helper function to convert boolean to CSSParserMode.
      (isStrictParserMode): Helper function that returns true if argument is CSSStrictMode.
      * css/CSSRule.h:
      (WebCore::CSSRule::cssParserMode): Renamed useStrictParsing to cssParserMode since it returns CSSParserMode instead of a boolean now.
      * css/CSSStyleSheet.cpp:
      (WebCore::CSSStyleSheet::CSSStyleSheet):
      (WebCore::CSSStyleSheet::insertRule):
      (WebCore::CSSStyleSheet::parseString):
      (WebCore::CSSStyleSheet::parseStringAtLine):
      * css/CSSStyleSheet.h:
      (CSSStyleSheet):
      (WebCore::CSSStyleSheet::setCSSParserMode): Renamed setStrictParsing to setCSSParserMode since we set an enum now.
      (WebCore::CSSStyleSheet::cssParserMode): Renamed useStrictParsing to cssParserMode since it returns CSSParserMode instead of a boolean now.
      * css/MediaList.cpp:
      (WebCore::MediaQuerySet::parse):
      (WebCore::MediaQuerySet::add):
      (WebCore::MediaQuerySet::remove):
      * css/StylePropertySet.cpp:
      (WebCore::StylePropertySet::StylePropertySet):
      (WebCore::StylePropertySet::setProperty):
      (WebCore::StylePropertySet::parseDeclaration):
      * css/StylePropertySet.h: Use unsigned member variables to store the parser mode.
      (WebCore::StylePropertySet::create):
      (WebCore::StylePropertySet::setCSSParserMode): Renamed setStrictParsing to setCSSParserMode since we get an enum now. This gets converted to unsigned internally.
      (WebCore::StylePropertySet::cssParserMode): Renamed useStrictParsing to cssParserMode since it returns CSSParserMode instead of a boolean now.
      (StylePropertySet):
      * css/StyleSheet.h:
      (StyleSheet):
      * css/WebKitCSSKeyframesRule.cpp:
      (WebCore::WebKitCSSKeyframesRule::insertRule):
      * css/WebKitCSSMatrix.cpp:
      (WebCore::WebKitCSSMatrix::setMatrixValue):
      * dom/Document.cpp:
      (WebCore::Document::webkitGetFlowByName):
      (WebCore::Document::pageUserSheet):
      (WebCore::Document::pageGroupUserSheets):
      * dom/Element.cpp:
      (WebCore::Element::webkitMatchesSelector):
      * dom/ElementAttributeData.cpp:
      (WebCore::ElementAttributeData::ensureInlineStyle):
      (WebCore::ElementAttributeData::ensureMutableInlineStyle):
      (WebCore::ElementAttributeData::updateInlineStyleAvoidingMutation):
      * dom/Node.cpp:
      (WebCore::Node::querySelector):
      (WebCore::Node::querySelectorAll):
      * dom/ProcessingInstruction.cpp:
      (WebCore::ProcessingInstruction::parseStyleSheet):
      * dom/StyleElement.cpp:
      (WebCore::StyleElement::createSheet):
      * html/HTMLElement.cpp:
      (WebCore::StyledElement::copyNonAttributeProperties):
      * html/HTMLLinkElement.cpp:
      (WebCore::HTMLLinkElement::setCSSStyleSheet):
      * html/canvas/CanvasRenderingContext2D.cpp:
      (WebCore::CanvasRenderingContext2D::setFont):
      * html/shadow/ContentSelectorQuery.cpp:
      (WebCore::ContentSelectorQuery::ContentSelectorQuery):
      * inspector/InspectorStyleSheet.cpp:
      (WebCore::InspectorStyleSheet::reparseStyleSheet):
      * svg/SVGElementRareData.h:
      (WebCore::SVGElementRareData::ensureAnimatedSMILStyleProperties):
      * svg/SVGFontFaceElement.cpp:
      (WebCore::SVGFontFaceElement::SVGFontFaceElement):
      * svg/SVGStyledElement.cpp:
      (WebCore::SVGStyledElement::getPresentationAttribute):
      * xml/XSLStyleSheet.h:
      (XSLStyleSheet):
      * xml/XSLStyleSheetLibxslt.cpp:
      (WebCore::XSLStyleSheet::parseString):
      * xml/XSLStyleSheetQt.cpp:
      (WebCore::XSLStyleSheet::parseString):
      
      Source/WebKit/chromium:
      
      Use CSSParserMode for setting the parsing mode on parseValue.
      
      * src/WebDocument.cpp:
      (WebKit::WebDocument::insertUserStyleSheet):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112537 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0e6f17d4
    • paroga@webkit.org's avatar
      Build fix for !ENABLE(YARR_JIT) after r112454. · c6c0e15c
      paroga@webkit.org authored
      * runtime/RegExp.cpp:
      (JSC::RegExp::invalidateCode):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112536 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      c6c0e15c
    • commit-queue@webkit.org's avatar
      Fix the error type in JSAudioBufferSourceNodeCustom to pass layout test. · ab024544
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=81639
      
      Patch by Sanghyun Park <sh919.park@samsung.com> on 2012-03-29
      Reviewed by Eric Carlson.
      
      Test : LayoutTest/webaudio/audiobuffersource-channels.html
      
      * bindings/js/JSAudioBufferSourceNodeCustom.cpp:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112535 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ab024544
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening after r112514. Fix the accidental r112532 fix. · 635d3113
      ossy@webkit.org authored
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png:
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt:
      * platform/qt-5.0/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png:
      * platform/qt-5.0/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      635d3113
    • vsevik@chromium.org's avatar
      Web Inspector: Existing UISourceCode should be loaded on scripts panel creation/reset. · 38149a64
      vsevik@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82614
      
      Reviewed by Pavel Feldman.
      
      Source/WebCore:
      
      UISourceCode are now loaded from DebuggerPresentationModel on scripts panel creation/reset.
      This is needed to show snippets that are loaded before scripts panel creation and are not removed on navigation.
      
      * inspector/front-end/ScriptsPanel.js:
      (WebInspector.ScriptsPanel.prototype._handleUISourceCodeAdded):
      (WebInspector.ScriptsPanel.prototype._loadUISourceCodes):
      (WebInspector.ScriptsPanel.prototype._uiSourceCodeAdded):
      (WebInspector.ScriptsPanel.prototype._reset):
      * inspector/front-end/SnippetsModel.js:
      (WebInspector.SnippetsScriptMapping.prototype.uiSourceCodeList):
      
      LayoutTests:
      
      * inspector/debugger/scripts-panel-expected.txt:
      * inspector/debugger/scripts-panel.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112533 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      38149a64
    • ossy@webkit.org's avatar
      [Qt] Unreviewed gardening after r112514. Add Qt5 specific expected files. · 4deecbbc
      ossy@webkit.org authored
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.png: Added.
      * platform/qt-5.0/svg/custom/scrolling-embedded-svg-file-image-repaint-problem-expected.txt: Added.
      * platform/qt-5.0/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.png: Added.
      * platform/qt-5.0/svg/zoom/page/zoom-img-preserveAspectRatio-support-1-expected.txt: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112532 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4deecbbc
    • caseq@chromium.org's avatar
      Web Inspector: on a single click in Timeline overview, make a minimal... · ce4086f9
      caseq@chromium.org authored
      Web Inspector: on a single click in Timeline overview, make a minimal selection centered around cursor
      https://bugs.webkit.org/show_bug.cgi?id=82616
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/TimelineOverviewPane.js:
      (WebInspector.TimelineOverviewWindow): Explicitly handle single click on overview by creating a minimal window around cursor.
      (WebInspector.TimelineOverviewWindow.prototype._resizeWindowMinimum):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112531 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      ce4086f9
    • commit-queue@webkit.org's avatar
      Unavailable pre-processor macro in non-Qt environments · f09fb8ef
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82042
      
      Patch by Víctor Manuel Jáquez Leal <vjaquez@igalia.com> on 2012-03-29
      Reviewed by Simon Hausmann.
      
      This patch removes the use of the macro QT_VERSION_CHECK() because, in
      non-Qt environments, the pre-processors raises an error. Instead of
      calling the macro to generate the version number, the version is
      expressed directly.
      
      * platform/graphics/texmap/TextureMapperGL.cpp:
      (SharedGLData): remove pre-processor macro for Qt version check.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112530 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      f09fb8ef
    • caseq@chromium.org's avatar
      Web Inspector: event details popover in Timeline panel displays invalid time offset · 4e38ec8b
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82611
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/TimelinePresentationModel.js:
      (WebInspector.TimelinePresentationModel.prototype.addRecord): use time in seconds, not raw model time for minimumRecordTime.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112529 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      4e38ec8b
    • caseq@chromium.org's avatar
      Web Inspector: use canvas to render bars in "vertical overview" mode · 0fc24619
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82606
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/TimelineOverviewPane.js: Use canvas instead of DOM for rendering vertical overview bars.
      (WebInspector.TimelineVerticalOverview):
      (WebInspector.TimelineVerticalOverview.prototype.update):
      (WebInspector.TimelineVerticalOverview.prototype._renderBars):
      (WebInspector.TimelineVerticalOverview.prototype._renderBar):
      (WebInspector.TimelineVerticalOverview.prototype.getWindowTimes):
      * inspector/front-end/timelinePanel.css: Drop styles previously used for DOM-based vertical overview rendering.
      (.timeline-vertical-overview-bars):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112528 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      0fc24619
    • caseq@chromium.org's avatar
      Web Inspector: timeline overview window selection is not reset upon clear/record · 68992ecb
      caseq@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82603
      
      Reviewed by Pavel Feldman.
      
      - TimelineOverviewPane.reset() -> _reset();
      - perform update() from reset();
      - perform reset() upon RecordsCleared event from the model.
      
      * inspector/front-end/TimelineOverviewPane.js:
      (WebInspector.TimelineOverviewPane):
      (WebInspector.TimelineOverviewPane.prototype._reset):
      (WebInspector.TimelineVerticalOverview):
      (WebInspector.TimelineVerticalOverview.prototype.update):
      (WebInspector.TimelineVerticalOverview.prototype._renderBars):
      (WebInspector.TimelineVerticalOverview.prototype._renderBar):
      (WebInspector.TimelineVerticalOverview.prototype.getWindowTimes):
      * inspector/front-end/timelinePanel.css:
      (.timeline-vertical-overview-bars):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112527 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      68992ecb
    • commit-queue@webkit.org's avatar
      Remove redundant updateViewportArguments() call when page is restored from page cache. · 54a30e89
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82500
      
      Patch by Zalan Bujtas <zbujtas@gmail.com> on 2012-03-29
      Reviewed by Kenneth Rohde Christiansen.
      
      .:
      
      Add manual test for history navigation with viewport width check.
      
      * ManualTests/viewport-width-test-after-history-navigation.html: Added.
      
      Source/WebCore:
      
      Document::updateViewportArguments() is called twice, while restoring a page from page cache.
      First, it is called when the document is set on the mainframe and later, it is called
      when page cache finished the restoration. Since viewport arguments don't change between
      the 2 calls, it's safe to remove the second.
      
      Manual test added. Viewport value updates heavily depend on UI process code.
      
      * dom/Document.cpp:
      (WebCore::Document::documentDidResumeFromPageCache):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112526 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      54a30e89
    • charles.wei@torchmobile.com.cn's avatar
      [BlackBerry] Add Internal test support for blackberry porting. · 742996f3
      charles.wei@torchmobile.com.cn authored
      https://bugs.webkit.org/show_bug.cgi?id=82597
      
      Reviewed by Rob Buis.
      
      No new tests, just the build system enhancement for BlackBerry porting.
      
      * UseJSC.cmake:
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112525 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      742996f3
    • ossy@webkit.org's avatar
      [Qt] Diverging test results on 32/64 bit architectures · 80452660
      ossy@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82601
      
      * platform/qt/Skipped: Skip the remaining 6 failing test.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112524 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      80452660
    • yurys@chromium.org's avatar
      Web Inspector: switch heap profiler front-end to separate storage of nodes and edges · 41858969
      yurys@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82453
      
      PerformanceTests:
      
      Updated heap profiler performance test after heap profiler front-end
      changes.
      
      Reviewed by Pavel Feldman.
      
      * inspector/detailed-heapshots-smoke-test.html:
      
      Source/WebCore:
      
      When heap snapshot is completely loaded move nodes and containment edges
      into two separate arrays. This way we don't need _nodeIndex and _nodePosition
      maps to go from node offset inside the raw snapshot to its index and back, instead
      we may just divide node offset by the number of node fields to get node index. After
      the nodes and containment edges are separated original array (_nodes) is dropped.
      All front-end code was switched to the new representation.
      
      Reviewed by Pavel Feldman.
      
      * inspector/front-end/HeapSnapshot.js:
      (WebInspector.HeapSnapshotRetainerEdge):
      (WebInspector.HeapSnapshotRetainerEdge.prototype.clone):
      (WebInspector.HeapSnapshotRetainerEdge.prototype.set edgeIndex):
      (WebInspector.HeapSnapshotRetainerEdge.prototype.get _edge):
      (WebInspector.HeapSnapshotRetainerEdgeIterator.prototype.hasNext):
      (WebInspector.HeapSnapshotNode.prototype.get edgesCount):
      (WebInspector.HeapSnapshotNode.prototype.get rawEdges):
      (WebInspector.HeapSnapshotNode.prototype.get retainers):
      (WebInspector.HeapSnapshotNode.prototype.get _nodes):
      (WebInspector.HeapSnapshotNode.prototype._firstEdgeIndex):
      (WebInspector.HeapSnapshotNode.prototype._afterLastEdgeIndex):
      (WebInspector.HeapSnapshotNode.prototype.get _nextNodeIndex):
      (WebInspector.HeapSnapshot.prototype._init):
      (WebInspector.HeapSnapshot.prototype._splitNodesAndContainmentEdges):
      (WebInspector.HeapSnapshot.prototype._createOnlyNodesArray):
      (WebInspector.HeapSnapshot.prototype._createContainmentEdgesArray):
      (WebInspector.HeapSnapshot.prototype._buildRetainers):
      (WebInspector.HeapSnapshot.prototype.dispose):
      (WebInspector.HeapSnapshot.prototype.get maxNodeId):
      (WebInspector.HeapSnapshot.prototype._calculateObjectToWindowDistance):
      (WebInspector.HeapSnapshot.prototype._bfs):
      (WebInspector.HeapSnapshot.prototype._buildDominatedNodes):
      (WebInspector.HeapSnapshot.prototype._getDominatedIndex):
      (WebInspector.HeapSnapshot.prototype._markInvisibleEdges):
      (WebInspector.HeapSnapshot.prototype._markQueriableHeapObjects):
      
      LayoutTests:
      
      Updated heap profiler test after switching heap profiler front-end
      to the new representation of nodes and edges.
      
      Reviewed by Pavel Feldman.
      
      * inspector/profiler/heap-snapshot-expected.txt:
      * inspector/profiler/heap-snapshot-test.js:
      (initialize_HeapSnapshotTest.InspectorTest.createHeapSnapshotMockObject):
      * inspector/profiler/heap-snapshot.html:
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112523 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      41858969
    • kkristof@inf.u-szeged.hu's avatar
      [Qt] Unreviewed gardening. Skip the new fast/dom/shadow tests because... · 35000c90
      kkristof@inf.u-szeged.hu authored
      [Qt] Unreviewed gardening. Skip the new fast/dom/shadow tests because ENABLE(SHADOW_DOM) is disabled.
      
      * platform/qt/Skipped: Skip the failing tests
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112522 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      35000c90
    • leo.yang@torchmobile.com.cn's avatar
      [BlackBerry] Add m_targetType to WorkerScriptLoader · 58a57722
      leo.yang@torchmobile.com.cn authored
      https://bugs.webkit.org/show_bug.cgi?id=82574
      
      Reviewed by Rob Buis.
      
      Just as Chromium porting blackberry porting is using m_targetType also.
      
      * workers/WorkerScriptLoader.h:
      (WorkerScriptLoader):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112521 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      58a57722
    • commit-queue@webkit.org's avatar
      [BlackBerry] Add an empty implementation of GraphicsContext3D::setErrorMessageCallback · 3ea6bc35
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82570
      
      Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-03-29
      Reviewed by Rob Buis.
      
      No new tests, no change in functionality.
      
      * platform/graphics/blackberry/GraphicsContext3DBlackBerry.cpp:
      (WebCore::GraphicsContext3D::setErrorMessageCallback): Add an empty implementation.
      (WebCore):
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112520 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      3ea6bc35
    • commit-queue@webkit.org's avatar
      [BlackBerry] Clean up ImageBufferData · fe0e28e2
      commit-queue@webkit.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82444
      
      Patch by Robin Cao <robin.cao@torchmobile.com.cn> on 2012-03-29
      Reviewed by Rob Buis.
      
      No behavior changes, no new tests.
      
      * platform/graphics/blackberry/skia/ImageBufferDataSkia.h:
      (ImageBufferData): Remove unused member variable m_buffer and change the type
      of m_platformLayer from LayerWebKitThread to CanvasLayerWebKitThread.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112519 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      fe0e28e2
    • shinyak@chromium.org's avatar
      Write a test for <base> and <link> are inert in ShadowDOM. · 72bb09ff
      shinyak@chromium.org authored
      https://bugs.webkit.org/show_bug.cgi?id=82430
      
      Reviewed by Dimitri Glazkov.
      
      This test checks adding <base> or <link> in shadow root will not affect the
      elements outside and inside the shadow tree.
      
      * fast/dom/shadow/base-in-shadow-tree-expected.txt: Added.
      * fast/dom/shadow/base-in-shadow-tree.html: Added.
      * fast/dom/shadow/link-in-shadow-tree-expected.txt: Added.
      * fast/dom/shadow/link-in-shadow-tree.html: Added.
      * fast/dom/shadow/resources/link-in-shadow-style.css: Added.
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112518 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      72bb09ff
    • tommyw@google.com's avatar
      MediaStream API: Adding better comments for the WebRTC methods in WebKitPlatformSupport.h · 69cc4227
      tommyw@google.com authored
      https://bugs.webkit.org/show_bug.cgi?id=82588
      
      Reviewed by Adam Barth.
      
      * public/platform/WebKitPlatformSupport.h:
      (WebKitPlatformSupport):
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112517 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      69cc4227
    • antti@apple.com's avatar
      Split WebKitCSSKeyframeRule into internal and CSSOM types · 64288378
      antti@apple.com authored
      https://bugs.webkit.org/show_bug.cgi?id=82490 
      
      Reviewed by Andreas Kling.
      
      WebKitCSSKeyframeRule is a CSSOM type and should not be used internally.
              
      - Add StyleKeyframe as the internal data structure for keyframes.
      - WebKitCSSKeyframeRule becomes a wrapper for StyleKeyframe.
      - Use StyleKeyframe internally so WebKitCSSKeyframeRules are created on CSSOM access only.
      
      * css/CSSGrammar.y:
              
          Use StyleKeyframes instead of WebKitCSSKeyframeRules.
              
      * css/CSSMediaRule.h:
      (CSSMediaRule):
      (WebCore::CSSMediaRule::length):
      (WebCore::CSSMediaRule::item):
              
          Adapt to LiveCSSRuleList changes.
              
      * css/CSSParser.cpp:
      (WebCore::CSSParser::parseKeyframeRule):
      (WebCore::CSSParser::createKeyframe):
      * css/CSSParser.h:        
      (WebCore):
      (CSSParser):
              
          Construct StyleKeyframes.
              
      * css/CSSRuleList.h:
      (WebCore::LiveCSSRuleList::length):
      (WebCore::LiveCSSRuleList::item):
      
          Make LiveCSSRuleList call rule item()/length() to avoid accessor duplication.
          
      * css/CSSStyleSelector.cpp:
      (WebCore::CSSStyleSelector::collectMatchingRulesForList):
      * css/CSSStyleSelector.h:
      (CSSStyleSelector):
      * css/WebKitCSSKeyframeRule.cpp:
              
          Use StyleKeyframe.
          Make 0% and 100% keyframes static.
              
      (WebCore):
      (WebCore::StyleKeyframe::setProperties):
      (WebCore::StyleKeyframe::parseKeyString):
      (WebCore::StyleKeyframe::cssText):
      (WebCore::WebKitCSSKeyframeRule::WebKitCSSKeyframeRule):
      (WebCore::WebKitCSSKeyframeRule::~WebKitCSSKeyframeRule):
      (WebCore::WebKitCSSKeyframeRule::style):
      * css/WebKitCSSKeyframeRule.h:
      (WebCore):
      (WebCore::StyleKeyframe::create):
      (WebCore::StyleKeyframe::keyText):
      (WebCore::StyleKeyframe::setKeyText):
      (StyleKeyframe):
      (WebCore::StyleKeyframe::properties):
      (WebCore::StyleKeyframe::StyleKeyframe):
      (WebKitCSSKeyframeRule):
      (WebCore::WebKitCSSKeyframeRule::keyText):
      (WebCore::WebKitCSSKeyframeRule::setKeyText):
      (WebCore::WebKitCSSKeyframeRule::cssText):
              
          Split to internal and CSSOM wrapper type. The wrapper refs StyleKeyframe. 
              
      * css/WebKitCSSKeyframesRule.cpp:
      (WebCore::WebKitCSSKeyframesRule::~WebKitCSSKeyframesRule):
      (WebCore::WebKitCSSKeyframesRule::parserAppendKeyframe):
      (WebCore::WebKitCSSKeyframesRule::insertRule):
      (WebCore::WebKitCSSKeyframesRule::deleteRule):
      (WebCore::WebKitCSSKeyframesRule::findRule):
      (WebCore::WebKitCSSKeyframesRule::findKeyframeIndex):
      (WebCore::WebKitCSSKeyframesRule::cssText):
      (WebCore):
      (WebCore::WebKitCSSKeyframesRule::item):
      * css/WebKitCSSKeyframesRule.h:
      (WebCore):
      (WebCore::WebKitCSSKeyframesRule::keyframes):
      (WebKitCSSKeyframesRule):
      (WebCore::WebKitCSSKeyframesRule::length):
              
          Keep StyleKeyframes and the wrappers (WebKitCSSKeyframeRules) in separate vectors.
          Construct the wrapper vector and wrappers themselves on demand.
          Keep the vectors in sync during mutations.
              
      * css/WebKitCSSRegionRule.h:
              
          Adapt to LiveCSSRuleList changes.
      
      
      
      git-svn-id: http://svn.webkit.org/repository/webkit/trunk@112516 268f45cc-cd09-0410-ab3c-d52691b4dbfc
      64288378