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

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

Issue 2626143004: DevTools: move from Common module - Geometry and CSSShadowModel (Closed)
Patch Set: minimize test diff Created 3 years, 11 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
Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index 49077735edd43c41ef819b528c667a4c7de373f4..2a1ebf13536eceb6bbc82211c4179c2287d7584b 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -990,7 +990,7 @@ UI.revertDomChanges = function(domChanges) {
/**
* @param {!Element} element
* @param {?Element=} containerElement
- * @return {!Size}
+ * @return {!UI.Size}
*/
UI.measurePreferredSize = function(element, containerElement) {
var oldParent = element.parentElement;
@@ -1005,7 +1005,7 @@ UI.measurePreferredSize = function(element, containerElement) {
oldParent.insertBefore(element, oldNextSibling);
else
element.remove();
- return new Size(result.width, result.height);
+ return new UI.Size(result.width, result.height);
};
/**

Powered by Google App Engine
This is Rietveld 408576698