Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1474)

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 313813002: Oilpan: Replace RefPtrs to Node and its subclasses in core/dom/ with Oilpan transtion types. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/web/WebLocalFrameImpl.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index a965aa37cf5b068e202a22bba86bf1cc4dfa2beb..214ba64a05fb832b3348f2aeb851ca2705f15c7c 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -1290,7 +1290,7 @@ void WebLocalFrameImpl::extendSelectionAndDelete(int before, int after)
void WebLocalFrameImpl::addStyleSheetByURL(const WebString& url)
{
- RefPtr<Element> styleElement = frame()->document()->createElement(HTMLNames::linkTag, false);
+ RefPtrWillBeRawPtr<Element> styleElement = frame()->document()->createElement(HTMLNames::linkTag, false);
styleElement->setAttribute(HTMLNames::typeAttr, "text/css");
styleElement->setAttribute(HTMLNames::relAttr, "stylesheet");

Powered by Google App Engine
This is Rietveld 408576698