summaryrefslogtreecommitdiffstats
path: root/content/renderer/render_view_impl.cc
diff options
context:
space:
mode:
authorjinho.bang@samsung.com <jinho.bang@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-13 14:18:11 +0000
committerjinho.bang@samsung.com <jinho.bang@samsung.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-13 14:18:11 +0000
commitb5a769958cbfcb76e1aaece168010ebd741ab350 (patch)
tree78f3fb6ffd4f43bd725dc85233c0c4bcd5d05bfd /content/renderer/render_view_impl.cc
parent7a59071263a540d6bc94df8eb09a3e8541414307 (diff)
downloadchromium_src-b5a769958cbfcb76e1aaece168010ebd741ab350.zip
chromium_src-b5a769958cbfcb76e1aaece168010ebd741ab350.tar.gz
chromium_src-b5a769958cbfcb76e1aaece168010ebd741ab350.tar.bz2
Switch from WebDocument::insertUserStyleSheet() to insertStyleSheet().
A UserStyleLevel parameter is no longer used in insertUserStyleSheet() and insertUserStyleSheet() calls just insertStyleSheet() again. blink side: https://codereview.chromium.org/143203006 Review URL: https://codereview.chromium.org/154113008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250982 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/renderer/render_view_impl.cc')
-rw-r--r--content/renderer/render_view_impl.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index ef64a94..4fa07bb 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -4323,9 +4323,7 @@ void RenderViewImpl::OnCSSInsertRequest(const base::string16& frame_xpath,
if (!frame)
return;
- frame->document().insertUserStyleSheet(
- WebString::fromUTF8(css),
- WebDocument::UserStyleAuthorLevel);
+ frame->document().insertStyleSheet(WebString::fromUTF8(css));
}
void RenderViewImpl::OnAllowBindings(int enabled_bindings_flags) {