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

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

Issue 1147123005: DevTools: fix front-end compilation following r196255 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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/devtools.js
diff --git a/Source/devtools/front_end/devtools.js b/Source/devtools/front_end/devtools.js
index 8151833e2b59a4d464507c82b972fe41e812fa9b..746ec801fbc43e5d998485df756b812ad9370289 100644
--- a/Source/devtools/front_end/devtools.js
+++ b/Source/devtools/front_end/devtools.js
@@ -804,7 +804,12 @@ function installBackwardsCompatibility()
// Support for legacy (<M41) frontends. Remove in M45.
window.CSSStyleDeclaration.prototype.getPropertyCSSValue = getValue;
- window.CSSPrimitiveValue = { CSS_PX: "CSS_PX" };
+
+ function CSSPrimitiveValue()
+ {
+ }
+ CSSPrimitiveValue.CSS_PX = 5;
+ window.CSSPrimitiveValue = CSSPrimitiveValue;
// Support for legacy (<M44) frontends. Remove in M48.
var styleElement = window.document.createElement("style");
« 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