Changeset 175513 in webkit
- Timestamp:
- Nov 3, 2014 11:22:18 PM (10 years ago)
- Location:
- trunk/Source
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r175424 r175513 1 2014-11-03 Chris Dumez <cdumez@apple.com> 2 3 Allow implicit conversion from Ref<T> to T& 4 https://bugs.webkit.org/show_bug.cgi?id=138331 5 6 Reviewed by Andreas Kling. 7 8 Allow implicit conversion from Ref<T> to T& to reduce the amount of 9 Ref<>::get() calls in the code and increase readability. Unlike for 10 RefPtr, doing this for Ref should not be error prone. 11 12 * wtf/Ref.h: 13 (WTF::Ref::operator T&): 14 (WTF::Ref::operator const T&): 15 * wtf/RunLoop.cpp: 16 (WTF::RunLoop::Holder::runLoop): 17 1 18 2014-10-31 Jeffrey Pfau <jpfau@apple.com> 2 19 -
trunk/Source/WTF/wtf/Ref.h
r173801 r175513 62 62 T& get() { return *m_ptr; } 63 63 64 operator T&() { return *m_ptr; } 65 operator const T&() const { return *m_ptr; } 66 64 67 template<typename U> PassRef<T> replace(PassRef<U>) WARN_UNUSED_RETURN; 65 68 -
trunk/Source/WTF/wtf/RunLoop.cpp
r170774 r175513 42 42 } 43 43 44 RunLoop& runLoop() { return m_runLoop .get(); }44 RunLoop& runLoop() { return m_runLoop; } 45 45 46 46 private: -
trunk/Source/WebCore/ChangeLog
r175506 r175513 1 2014-11-03 Chris Dumez <cdumez@apple.com> 2 3 Allow implicit conversion from Ref<T> to T& 4 https://bugs.webkit.org/show_bug.cgi?id=138331 5 6 Reviewed by Andreas Kling. 7 8 Remove unnecessary calls to Ref<T>::get() now that a Ref<T> can be 9 converted implicitly to a T&. 10 11 No new tests, no behavior change. 12 1 13 2014-11-03 Simon Fraser <simon.fraser@apple.com> 2 14 -
trunk/Source/WebCore/bindings/js/JSDOMWindowShell.h
r167963 r175513 63 63 } 64 64 65 DOMWrapperWorld& world() { return m_world .get(); }65 DOMWrapperWorld& world() { return m_world; } 66 66 67 67 protected: -
trunk/Source/WebCore/css/CSSStyleSheet.h
r174332 r175513 114 114 void reattachChildRuleCSSOMWrappers(); 115 115 116 StyleSheetContents& contents() { return m_contents .get(); }116 StyleSheetContents& contents() { return m_contents; } 117 117 118 118 void detachFromDocument() { m_ownerNode = nullptr; } -
trunk/Source/WebCore/css/CSSToStyleMap.cpp
r175487 r175513 551 551 image.setImage(styleImage(imageProperty, current.get())); 552 552 else if (is<CSSBorderImageSliceValue>(current.get())) 553 mapNinePieceImageSlice(current .get(), image);553 mapNinePieceImageSlice(current, image); 554 554 else if (is<CSSValueList>(current.get())) { 555 555 CSSValueList& slashList = downcast<CSSValueList>(current.get()); … … 567 567 } else if (is<CSSPrimitiveValue>(current.get())) { 568 568 // Set the appropriate rules for stretch/round/repeat of the slices. 569 mapNinePieceImageRepeat(current .get(), image);569 mapNinePieceImageRepeat(current, image); 570 570 } 571 571 } -
trunk/Source/WebCore/css/CSSValue.h
r174300 r175513 248 248 inline bool compareCSSValue(const Ref<CSSValueType>& first, const Ref<CSSValueType>& second) 249 249 { 250 return first.get().equals(second .get());250 return first.get().equals(second); 251 251 } 252 252 -
trunk/Source/WebCore/css/CSSValueList.cpp
r172536 r175513 97 97 ASSERT_NOT_REACHED(); 98 98 } 99 for ( unsigned i = 0, size = m_values.size(); i < size; ++i)100 newList->append( m_values[i].get());99 for (auto& value : m_values) 100 newList->append(value.get()); 101 101 return newList.release(); 102 102 } … … 120 120 } 121 121 122 for ( unsigned i = 0, size = m_values.size(); i < size; i++) {122 for (auto& value : m_values) { 123 123 if (!result.isEmpty()) 124 124 result.append(separator); 125 result.append( m_values[i].get().cssText());125 result.append(value.get().cssText()); 126 126 } 127 127 … … 138 138 139 139 for (unsigned i = 0, size = m_values.size(); i < size; ++i) { 140 if (!m_values[i].get().equals(other.m_values[i] .get()))140 if (!m_values[i].get().equals(other.m_values[i])) 141 141 return false; 142 142 } -
trunk/Source/WebCore/css/DeprecatedStyleBuilder.cpp
r175487 r175513 1580 1580 if (childIndex <= list->size()) 1581 1581 list->append(Animation::create()); 1582 map(styleResolver, list->animation(childIndex), currentValue .get());1582 map(styleResolver, list->animation(childIndex), currentValue); 1583 1583 ++childIndex; 1584 1584 } -
trunk/Source/WebCore/css/ElementRuleCollector.cpp
r174069 r175513 53 53 if (leftToRightDecl.get()->isEmpty()) 54 54 leftToRightDecl.get()->setProperty(CSSPropertyDirection, CSSValueLtr); 55 return leftToRightDecl.get() .get();55 return leftToRightDecl.get(); 56 56 } 57 57 … … 61 61 if (rightToLeftDecl.get()->isEmpty()) 62 62 rightToLeftDecl.get()->setProperty(CSSPropertyDirection, CSSValueRtl); 63 return rightToLeftDecl.get() .get();63 return rightToLeftDecl.get(); 64 64 } 65 65 -
trunk/Source/WebCore/css/StyleResolver.cpp
r175490 r175513 1980 1980 ++currentNamedGridLine; 1981 1981 GridTrackSize trackSize; 1982 if (!createGridTrackSize(currentValue .get(), trackSize, state))1982 if (!createGridTrackSize(currentValue, trackSize, state)) 1983 1983 return false; 1984 1984 -
trunk/Source/WebCore/css/StyleRule.h
r174536 r175513 111 111 112 112 const CSSSelectorList& selectorList() const { return m_selectorList; } 113 const StyleProperties& properties() const { return m_properties .get(); }113 const StyleProperties& properties() const { return m_properties; } 114 114 MutableStyleProperties& mutableProperties(); 115 115 … … 146 146 ~StyleRuleFontFace(); 147 147 148 const StyleProperties& properties() const { return m_properties .get(); }148 const StyleProperties& properties() const { return m_properties; } 149 149 MutableStyleProperties& mutableProperties(); 150 150 … … 166 166 167 167 const CSSSelector* selector() const { return m_selectorList.first(); } 168 const StyleProperties& properties() const { return m_properties .get(); }168 const StyleProperties& properties() const { return m_properties; } 169 169 MutableStyleProperties& mutableProperties(); 170 170 -
trunk/Source/WebCore/css/WebKitCSSKeyframeRule.h
r175391 r175513 50 50 void getKeys(Vector<double>& keys) const { parseKeyString(m_key, keys); } 51 51 52 const StyleProperties& properties() const { return m_properties .get(); }52 const StyleProperties& properties() const { return m_properties; } 53 53 MutableStyleProperties& mutableProperties(); 54 54 -
trunk/Source/WebCore/dom/ChildListMutationScope.cpp
r170774 r175513 86 86 Ref<Node> child(childRef); 87 87 88 if (!isAddedNodeInOrder(child .get()))88 if (!isAddedNodeInOrder(child)) 89 89 enqueueMutationRecord(); 90 90 … … 109 109 Ref<Node> child(childRef); 110 110 111 if (!m_addedNodes.isEmpty() || !isRemovedNodeInOrder(child .get()))111 if (!m_addedNodes.isEmpty() || !isRemovedNodeInOrder(child)) 112 112 enqueueMutationRecord(); 113 113 … … 129 129 RefPtr<NodeList> addedNodes = StaticNodeList::adopt(m_addedNodes); 130 130 RefPtr<NodeList> removedNodes = StaticNodeList::adopt(m_removedNodes); 131 RefPtr<MutationRecord> record = MutationRecord::createChildList(m_target .get(), addedNodes.release(), removedNodes.release(), m_previousSibling.release(), m_nextSibling.release());131 RefPtr<MutationRecord> record = MutationRecord::createChildList(m_target, addedNodes.release(), removedNodes.release(), m_previousSibling.release(), m_nextSibling.release()); 132 132 m_observers->enqueueMutationRecord(record.release()); 133 133 m_lastAdded = 0; -
trunk/Source/WebCore/dom/ChildNodeList.cpp
r166460 r175513 92 92 return nullptr; 93 93 } 94 for (auto& element : childrenOfType<Element>(m_parent .get())) {94 for (auto& element : childrenOfType<Element>(m_parent)) { 95 95 if (element.hasID() && element.idForStyleResolution() == name) 96 96 return const_cast<Element*>(&element); -
trunk/Source/WebCore/dom/ChildNodeList.h
r166461 r175513 42 42 virtual ~EmptyNodeList(); 43 43 44 Node& ownerNode() { return m_owner .get(); }44 Node& ownerNode() { return m_owner; } 45 45 46 46 private: … … 66 66 virtual ~ChildNodeList(); 67 67 68 ContainerNode& ownerNode() { return m_parent .get(); }68 ContainerNode& ownerNode() { return m_parent; } 69 69 70 70 void invalidateCache(); -
trunk/Source/WebCore/dom/ContainerNode.cpp
r175435 r175513 116 116 if (oldParent->document().hasMutationObserversOfType(MutationObserver::ChildList)) { 117 117 ChildListMutationScope mutation(*oldParent); 118 for ( unsigned i = 0; i < children.size(); ++i)119 mutation.willRemoveChild(child ren[i].get());118 for (auto& child : children) 119 mutation.willRemoveChild(child); 120 120 } 121 121 … … 125 125 oldParent->removeDetachedChildren(); 126 126 127 for (unsigned i = 0; i < children.size(); ++i) { 128 Node& child = children[i].get(); 129 127 for (auto& child : children) { 130 128 destroyRenderTreeIfNeeded(child); 131 129 132 130 // FIXME: We need a no mutation event version of adoptNode. 133 RefPtr<Node> adoptedChild = document().adoptNode(&child ren[i].get(), ASSERT_NO_EXCEPTION);131 RefPtr<Node> adoptedChild = document().adoptNode(&child.get(), ASSERT_NO_EXCEPTION); 134 132 parserAppendChild(adoptedChild.get()); 135 133 // FIXME: Together with adoptNode above, the tree scope might get updated recursively twice … … 300 298 treeScope().adoptIfNeeded(&child); 301 299 302 insertBeforeCommon(next .get(), child);300 insertBeforeCommon(next, child); 303 301 304 302 updateTreeAfterInsertion(child); … … 550 548 } 551 549 552 willRemoveChild(child .get());550 willRemoveChild(child); 553 551 554 552 // Mutation events might have moved this child into a different parent. … … 563 561 Node* prev = child->previousSibling(); 564 562 Node* next = child->nextSibling(); 565 removeBetween(prev, next, child .get());566 567 notifyChildRemoved(child .get(), prev, next, ChildChangeSourceAPI);568 569 ChildNodeRemovalNotifier(*this).notify(child .get());563 removeBetween(prev, next, child); 564 565 notifyChildRemoved(child, prev, next, ChildChangeSourceAPI); 566 567 ChildNodeRemovalNotifier(*this).notify(child); 570 568 } 571 569 … … 664 662 childrenChanged(change); 665 663 666 for ( size_t i = 0; i < removedChildren.size(); ++i)667 ChildNodeRemovalNotifier(*this).notify(removedChild ren[i].get());664 for (auto& removedChild : removedChildren) 665 ChildNodeRemovalNotifier(*this).notify(removedChild); 668 666 } 669 667 -
trunk/Source/WebCore/dom/ContainerNodeAlgorithms.cpp
r174225 r175513 168 168 SubframeLoadingDisabler disabler(root); 169 169 170 for (unsigned i = 0; i < frameOwners.size(); ++i) {171 auto& owner = frameOwners[i].get();170 bool isFirst = true; 171 for (auto& owner : frameOwners) { 172 172 // Don't need to traverse up the tree for the first owner since no 173 173 // script could have moved it. 174 if (!i || root.containsIncludingShadowDOM(&owner)) 175 owner.disconnectContentFrame(); 174 if (isFirst || root.containsIncludingShadowDOM(&owner.get())) 175 owner.get().disconnectContentFrame(); 176 isFirst = false; 176 177 } 177 178 } -
trunk/Source/WebCore/dom/Node.cpp
r174840 r175513 1365 1365 case DOCUMENT_FRAGMENT_NODE: { 1366 1366 Ref<ContainerNode> container(downcast<ContainerNode>(*this)); 1367 ChildListMutationScope mutation(container .get());1367 ChildListMutationScope mutation(container); 1368 1368 container->removeChildren(); 1369 1369 if (!text.isEmpty()) -
trunk/Source/WebCore/editing/ApplyStyleCommand.cpp
r174300 r175513 1052 1052 // The inner loop will go through children on each level 1053 1053 // FIXME: we should aggregate inline child elements together so that we don't wrap each child separately. 1054 for ( size_t i = 0; i < currentChildren.size(); ++i) {1055 Node& child = c urrentChildren[i].get();1054 for (Ref<Node>& childRef : currentChildren) { 1055 Node& child = childRef; 1056 1056 if (!child.parentNode()) 1057 1057 continue; -
trunk/Source/WebCore/editing/EditCommand.h
r173235 r175513 65 65 66 66 Frame& frame(); 67 Document& document() { return m_document .get(); }67 Document& document() { return m_document; } 68 68 CompositeEditCommand* parent() const { return m_parent; } 69 69 void setStartingSelection(const VisibleSelection&); -
trunk/Source/WebCore/editing/Editor.cpp
r174876 r175513 1222 1222 if (autocorrectionWasApplied) 1223 1223 options |= TypingCommand::RetainAutocorrectionIndicator; 1224 TypingCommand::insertText(document .get(), text, selection, options, triggeringEvent && triggeringEvent->isComposition() ? TypingCommand::TextCompositionConfirm : TypingCommand::TextCompositionNone);1224 TypingCommand::insertText(document, text, selection, options, triggeringEvent && triggeringEvent->isComposition() ? TypingCommand::TextCompositionConfirm : TypingCommand::TextCompositionNone); 1225 1225 } 1226 1226 -
trunk/Source/WebCore/editing/cocoa/HTMLConverter.mm
r174676 r175513 564 564 NSAttributedString *HTMLConverter::convert() 565 565 { 566 Node* commonAncestorContainer = _caches->cacheAncestorsOfStartToBeConverted(m_range .get());566 Node* commonAncestorContainer = _caches->cacheAncestorsOfStartToBeConverted(m_range); 567 567 ASSERT(commonAncestorContainer); 568 568 -
trunk/Source/WebCore/editing/markup.cpp
r174300 r175513 958 958 if (element->ieForbidsInsertHTML()) { 959 959 ec = NOT_SUPPORTED_ERR; 960 return 0;960 return nullptr; 961 961 } 962 962 … … 964 964 || element->hasTagName(headTag) || element->hasTagName(styleTag) || element->hasTagName(titleTag)) { 965 965 ec = NOT_SUPPORTED_ERR; 966 return 0;966 return nullptr; 967 967 } 968 968 969 969 RefPtr<DocumentFragment> fragment = createFragmentForInnerOuterHTML(markup, element, parserContentPolicy, ec); 970 970 if (!fragment) 971 return 0;971 return nullptr; 972 972 973 973 // We need to pop <html> and <body> elements and remove <head> to … … 975 975 // child of an element. 976 976 auto toRemove = collectElementsToRemoveFromFragment(*fragment); 977 for ( unsigned i = 0; i < toRemove.size(); ++i)978 removeElementFromFragmentPreservingChildren(*fragment, toRemove[i].get());977 for (auto& element : toRemove) 978 removeElementFromFragmentPreservingChildren(*fragment, element); 979 979 980 980 return fragment.release(); … … 995 995 { 996 996 Ref<ContainerNode> containerNode(container); 997 ChildListMutationScope mutation(containerNode .get());997 ChildListMutationScope mutation(containerNode); 998 998 999 999 if (!fragment->firstChild()) { … … 1019 1019 { 1020 1020 Ref<ContainerNode> containerNode(container); 1021 ChildListMutationScope mutation(containerNode .get());1021 ChildListMutationScope mutation(containerNode); 1022 1022 1023 1023 if (hasOneTextChild(&containerNode.get())) { -
trunk/Source/WebCore/html/canvas/CanvasGradient.h
r174410 r175513 48 48 } 49 49 50 Gradient& gradient() { return m_gradient .get(); }51 const Gradient& gradient() const { return m_gradient .get(); }50 Gradient& gradient() { return m_gradient; } 51 const Gradient& gradient() const { return m_gradient; } 52 52 53 53 void addColorStop(float value, const String& color, ExceptionCode&); -
trunk/Source/WebCore/html/canvas/CanvasPattern.h
r174382 r175513 46 46 static void parseRepetitionType(const String&, bool& repeatX, bool& repeatY, ExceptionCode&); 47 47 48 Pattern& pattern() { return m_pattern .get(); }49 const Pattern& pattern() const { return m_pattern .get(); }48 Pattern& pattern() { return m_pattern; } 49 const Pattern& pattern() const { return m_pattern; } 50 50 51 51 bool originClean() const { return m_originClean; } -
trunk/Source/WebCore/loader/DocumentLoader.h
r175491 r175513 104 104 WEBCORE_EXPORT ResourceRequest& request(); 105 105 106 CachedResourceLoader& cachedResourceLoader() { return m_cachedResourceLoader .get(); }106 CachedResourceLoader& cachedResourceLoader() { return m_cachedResourceLoader; } 107 107 108 108 const SubstituteData& substituteData() const { return m_substituteData; } -
trunk/Source/WebCore/loader/FrameLoader.cpp
r175375 r175513 3287 3287 Vector<Ref<DOMWrapperWorld>> worlds; 3288 3288 ScriptController::getAllWorlds(worlds); 3289 for ( size_t i = 0; i < worlds.size(); ++i)3290 dispatchDidClearWindowObjectInWorld(world s[i].get());3289 for (auto& world : worlds) 3290 dispatchDidClearWindowObjectInWorld(world); 3291 3291 } 3292 3292 … … 3310 3310 Vector<Ref<DOMWrapperWorld>> worlds; 3311 3311 ScriptController::getAllWorlds(worlds); 3312 for ( size_t i = 0; i < worlds.size(); ++i)3313 m_client.dispatchGlobalObjectAvailable(world s[i].get());3312 for (auto& world : worlds) 3313 m_client.dispatchGlobalObjectAvailable(world); 3314 3314 } 3315 3315 -
trunk/Source/WebCore/page/DOMWindow.cpp
r174536 r175513 255 255 windows.uncheckedAppend(*it->key); 256 256 257 for ( unsigned i = 0; i < windows.size(); ++i) {258 DOMWindow& window = window s[i].get();257 for (Ref<DOMWindow>& windowRef : windows) { 258 DOMWindow& window = windowRef; 259 259 if (!set.contains(&window)) 260 260 continue; … … 292 292 Vector<Ref<DOMWindow>> windows; 293 293 windows.reserveInitialCapacity(set.size()); 294 for (auto it = set.begin(), end = set.end(); it != end; ++it)295 windows.uncheckedAppend(* it->key);296 297 for ( unsigned i = 0; i < windows.size(); ++i) {298 DOMWindow& window = window s[i].get();294 for (auto& keyValue : set) 295 windows.uncheckedAppend(*keyValue.key); 296 297 for (Ref<DOMWindow>& windowRef : windows) { 298 DOMWindow& window = windowRef; 299 299 if (!set.contains(&window)) 300 300 continue; -
trunk/Source/WebCore/page/animation/AnimationController.cpp
r174804 r175513 517 517 518 518 CompositeAnimation& rendererAnimations = m_data->ensureCompositeAnimation(renderer); 519 auto blendedStyle = rendererAnimations.animate(renderer, oldStyle, newStyleBeforeAnimation .get());519 auto blendedStyle = rendererAnimations.animate(renderer, oldStyle, newStyleBeforeAnimation); 520 520 521 521 if (renderer.parent() || newStyleBeforeAnimation->animations() || (oldStyle && oldStyle->animations())) { -
trunk/Source/WebCore/platform/graphics/ca/TileCoverageMap.cpp
r174657 r175513 49 49 m_visibleRectIndicatorLayer.get().setBorderColor(Color(255, 0, 0)); 50 50 51 m_layer.get().appendSublayer(m_visibleRectIndicatorLayer .get());51 m_layer.get().appendSublayer(m_visibleRectIndicatorLayer); 52 52 53 53 update(); -
trunk/Source/WebCore/platform/graphics/ca/TileCoverageMap.h
r169948 r175513 51 51 void setPosition(const FloatPoint& position) { m_position = position; } 52 52 53 PlatformCALayer& layer() { return m_layer .get(); }53 PlatformCALayer& layer() { return m_layer; } 54 54 55 55 void setDeviceScaleFactor(float); -
trunk/Source/WebCore/platform/graphics/ca/TileGrid.h
r170037 r175513 52 52 ~TileGrid(); 53 53 54 PlatformCALayer& containerLayer() { return m_containerLayer .get(); }54 PlatformCALayer& containerLayer() { return m_containerLayer; } 55 55 56 56 void setScale(float); -
trunk/Source/WebCore/rendering/ClipPathOperation.h
r175084 r175513 102 102 } 103 103 104 const BasicShape& basicShape() const { return m_shape .get(); }104 const BasicShape& basicShape() const { return m_shape; } 105 105 WindRule windRule() const { return m_shape.get().windRule(); } 106 106 const Path pathForReferenceRect(const FloatRect& boundingRect) -
trunk/Source/WebCore/rendering/RenderNamedFlowThread.h
r175084 r175513 129 129 void updateWritingMode(); 130 130 131 WebKitNamedFlow& namedFlow() { return m_namedFlow .get(); }132 const WebKitNamedFlow& namedFlow() const { return m_namedFlow .get(); }131 WebKitNamedFlow& namedFlow() { return m_namedFlow; } 132 const WebKitNamedFlow& namedFlow() const { return m_namedFlow; } 133 133 134 134 // Observer flow threads have invalid regions that depend on the state of this thread -
trunk/Source/WebCore/rendering/style/StyleGeneratedImage.h
r174836 r175513 39 39 } 40 40 41 CSSImageGeneratorValue& imageValue() { return m_imageGeneratorValue .get(); }41 CSSImageGeneratorValue& imageValue() { return m_imageGeneratorValue; } 42 42 43 43 private: -
trunk/Source/WebKit2/ChangeLog
r175503 r175513 1 2014-11-03 Chris Dumez <cdumez@apple.com> 2 3 Allow implicit conversion from Ref<T> to T& 4 https://bugs.webkit.org/show_bug.cgi?id=138331 5 6 Reviewed by Andreas Kling. 7 8 Remove unnecessary calls to Ref<T>::get() now that a Ref<T> can be 9 converted implicitly to a T&. 10 1 11 2014-11-03 Simon Fraser <simon.fraser@apple.com> 2 12 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.cpp
r175476 r175513 376 376 if (m_userContentController) 377 377 m_process->addWebUserContentControllerProxy(*m_userContentController); 378 m_process->addVisitedLinkProvider(m_visitedLinkProvider .get());378 m_process->addVisitedLinkProvider(m_visitedLinkProvider); 379 379 } 380 380 … … 3170 3170 if (m_userContentController) 3171 3171 m_process->addWebUserContentControllerProxy(*m_userContentController); 3172 m_process->addVisitedLinkProvider(m_visitedLinkProvider .get());3172 m_process->addVisitedLinkProvider(m_visitedLinkProvider); 3173 3173 } 3174 3174 -
trunk/Source/WebKit2/UIProcess/WebPageProxy.h
r175498 r175513 256 256 #endif 257 257 258 WebBackForwardList& backForwardList() { return m_backForwardList .get(); }258 WebBackForwardList& backForwardList() { return m_backForwardList; } 259 259 260 260 bool addsVisitedLinks() const { return m_addsVisitedLinks; } … … 739 739 #endif 740 740 741 WebProcessProxy& process() { return m_process .get(); }741 WebProcessProxy& process() { return m_process; } 742 742 PlatformProcessIdentifier processIdentifier() const; 743 743 744 WebPreferences& preferences() { return m_preferences .get(); }744 WebPreferences& preferences() { return m_preferences; } 745 745 void setPreferences(WebPreferences&); 746 746 747 WebPageGroup& pageGroup() { return m_pageGroup .get(); }747 WebPageGroup& pageGroup() { return m_pageGroup; } 748 748 749 749 bool isValid() const; -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.cpp
r174803 r175513 617 617 m_downloadProxyMap = std::make_unique<DownloadProxyMap>(this); 618 618 619 return m_downloadProxyMap->createDownloadProxy(m_context .get(), request);619 return m_downloadProxyMap->createDownloadProxy(m_context, request); 620 620 } 621 621 -
trunk/Source/WebKit2/UIProcess/WebProcessProxy.h
r174803 r175513 79 79 WebConnection* webConnection() const { return m_webConnection.get(); } 80 80 81 WebContext& context() { return m_context .get(); }81 WebContext& context() { return m_context; } 82 82 83 83 static WebPageProxy* webPage(uint64_t pageID); -
trunk/Source/WebKit2/WebProcess/UserContent/WebUserContentController.h
r170891 r175513 42 42 virtual ~WebUserContentController(); 43 43 44 WebCore::UserContentController& userContentController() { return m_userContentController .get(); }44 WebCore::UserContentController& userContentController() { return m_userContentController; } 45 45 46 46 uint64_t identifier() { return m_identifier; }
Note: See TracChangeset
for help on using the changeset viewer.