diff options
author | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 00:23:34 +0000 |
---|---|---|
committer | nsylvain@chromium.org <nsylvain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-15 00:23:34 +0000 |
commit | a1f42985d74de36d1fc4fc173b9f2f7da4391d12 (patch) | |
tree | 140ad42c9d736bdd3002fe3df7fe507df63af262 /chrome/renderer/render_view.cc | |
parent | fc2d3fced2e685464564407b14e57077cad3250e (diff) | |
download | chromium_src-a1f42985d74de36d1fc4fc173b9f2f7da4391d12.zip chromium_src-a1f42985d74de36d1fc4fc173b9f2f7da4391d12.tar.gz chromium_src-a1f42985d74de36d1fc4fc173b9f2f7da4391d12.tar.bz2 |
Revert change 26184, 26181 and 26178 to fix
the compile error on the toolkit builder.
TBR:finnur
Review URL: http://codereview.chromium.org/203064
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26186 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/render_view.cc')
-rw-r--r-- | chrome/renderer/render_view.cc | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/chrome/renderer/render_view.cc b/chrome/renderer/render_view.cc index b8ee661..f339309 100644 --- a/chrome/renderer/render_view.cc +++ b/chrome/renderer/render_view.cc @@ -2734,13 +2734,12 @@ void RenderView::EvaluateScript(const std::wstring& frame_xpath, } void RenderView::InsertCSS(const std::wstring& frame_xpath, - const std::string& css, - const std::string& id) { + const std::string& css) { WebFrame* web_frame = GetChildFrame(frame_xpath); if (!web_frame) return; - web_frame->insertStyleText(WebString::fromUTF8(css), WebString::fromUTF8(id)); + web_frame->insertStyleText(WebString::fromUTF8(css)); } void RenderView::OnScriptEvalRequest(const std::wstring& frame_xpath, @@ -2749,9 +2748,8 @@ void RenderView::OnScriptEvalRequest(const std::wstring& frame_xpath, } void RenderView::OnCSSInsertRequest(const std::wstring& frame_xpath, - const std::string& css, - const std::string& id) { - InsertCSS(frame_xpath, css, id); + const std::string& css) { + InsertCSS(frame_xpath, css); // Notify RenderViewHost that css has been inserted into the frame. Send(new ViewHostMsg_OnCSSInserted(routing_id_)); |