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

Unified Diff: WebCore/inspector/front-end/InjectedScript.js

Issue 5469002: Merge 72903 - 2010-11-30 Pavel Feldman <pfeldman@chromium.org>... (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/597/
Patch Set: Created 10 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: WebCore/inspector/front-end/InjectedScript.js
===================================================================
--- WebCore/inspector/front-end/InjectedScript.js (revision 73030)
+++ WebCore/inspector/front-end/InjectedScript.js (working copy)
@@ -700,11 +700,9 @@
copy: function(object)
{
- if (injectedScript._type(object) === "node") {
- var nodeId = InjectedScriptHost.pushNodePathToFrontend(object, false, false);
- InjectedScriptHost.copyNode(nodeId);
- } else
- InjectedScriptHost.copyText(object);
+ if (injectedScript._type(object) === "node")
+ object = object.outerHTML;
+ InjectedScriptHost.copyText(object);
},
clear: function()
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698