| Index: Source/web/WebLocalFrameImpl.cpp
|
| diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
|
| index b4b9eaedcccf30a82306f5b2da1d1a06845429a3..1aa35a2156319a3f7e0ebbef0c86e1bc28a1b05a 100644
|
| --- a/Source/web/WebLocalFrameImpl.cpp
|
| +++ b/Source/web/WebLocalFrameImpl.cpp
|
| @@ -2013,24 +2013,6 @@ void WebLocalFrameImpl::setCommittedFirstRealLoad()
|
| ensureFrameLoaderHasCommitted(frame()->loader());
|
| }
|
|
|
| -void WebLocalFrameImpl::addStyleSheetByURL(const WebString& url)
|
| -{
|
| - RefPtrWillBeRawPtr<Element> styleElement = frame()->document()->createElement(HTMLNames::linkTag, false);
|
| -
|
| - styleElement->setAttribute(HTMLNames::typeAttr, "text/css");
|
| - styleElement->setAttribute(HTMLNames::relAttr, "stylesheet");
|
| - styleElement->setAttribute(HTMLNames::hrefAttr, url);
|
| -
|
| - frame()->document()->head()->appendChild(styleElement.release(), IGNORE_EXCEPTION);
|
| -}
|
| -
|
| -void WebLocalFrameImpl::navigateToSandboxedMarkup(const WebData& markup)
|
| -{
|
| - ASSERT(document().securityOrigin().isUnique());
|
| - frame()->loader().forceSandboxFlags(SandboxAll);
|
| - loadHTMLString(markup, document().url(), WebURL(), true);
|
| -}
|
| -
|
| void WebLocalFrameImpl::sendOrientationChangeEvent()
|
| {
|
| if (!frame())
|
|
|