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

Unified Diff: Source/devtools/front_end/ui/UIUtils.js

Issue 675173002: DevTools: Fix frontend compilation after r184356 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/ui/UIUtils.js
diff --git a/Source/devtools/front_end/ui/UIUtils.js b/Source/devtools/front_end/ui/UIUtils.js
index e7024251ab915a5d2e860c9c2cf50878be4fdf29..fd033ee418c7af7b65e66dc58aafae666af6c685 100644
--- a/Source/devtools/front_end/ui/UIUtils.js
+++ b/Source/devtools/front_end/ui/UIUtils.js
@@ -82,7 +82,7 @@ WebInspector.elementDragStart = function(elementDragStart, elementDrag, elementD
if (typeof cursor === "string") {
WebInspector._restoreCursorAfterDrag = restoreCursor.bind(null, targetElement.style.cursor);
targetElement.style.cursor = cursor;
- document.body.style.cursor = cursor;
+ targetDocument.body.style.cursor = cursor;
}
function restoreCursor(oldCursor)
{
« 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