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

Unified Diff: Source/WebCore/inspector/front-end/ProfilesPanel.js

Issue 6914017: Merge 85415 - 2011-05-01 Pavel Feldman <pfeldman@chromium.org> (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/742/
Patch Set: Created 9 years, 8 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
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/TimelinePanel.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/inspector/front-end/ProfilesPanel.js
===================================================================
--- Source/WebCore/inspector/front-end/ProfilesPanel.js (revision 85601)
+++ Source/WebCore/inspector/front-end/ProfilesPanel.js (working copy)
@@ -263,14 +263,14 @@
if (buttonPos > -1) {
var container = document.createDocumentFragment();
var part1 = document.createElement("span");
- part1.innerHTML = message.substr(0, buttonPos);
+ part1.textContent = message.substr(0, buttonPos);
container.appendChild(part1);
var button = new WebInspector.StatusBarButton(profileType.buttonTooltip, profileType.buttonStyle, profileType.buttonCaption);
container.appendChild(button.element);
var part2 = document.createElement("span");
- part2.innerHTML = message.substr(buttonPos + 2);
+ part2.textContent = message.substr(buttonPos + 2);
container.appendChild(part2);
this.welcomeView.addMessage(container);
} else
« no previous file with comments | « no previous file | Source/WebCore/inspector/front-end/TimelinePanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698