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

Unified Diff: Source/core/frame/DOMWindow.h

Issue 765123002: Sync the getComputedStyle() IDL with the spec (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: simplify Created 6 years 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: Source/core/frame/DOMWindow.h
diff --git a/Source/core/frame/DOMWindow.h b/Source/core/frame/DOMWindow.h
index c23579bee65151e910d0b7c6cbbbcba957668b09..130a79f5d5c072c9b915d0e1ebc49daaff663d8a 100644
--- a/Source/core/frame/DOMWindow.h
+++ b/Source/core/frame/DOMWindow.h
@@ -157,7 +157,7 @@ public:
virtual PassRefPtrWillBeRawPtr<MediaQueryList> matchMedia(const String&) = 0;
// DOM Level 2 Style Interface
- virtual PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt) const = 0;
+ virtual PassRefPtrWillBeRawPtr<CSSStyleDeclaration> getComputedStyle(Element*, const String& pseudoElt = String()) const = 0;
// WebKit extensions
virtual PassRefPtrWillBeRawPtr<CSSRuleList> getMatchedCSSRules(Element*, const String& pseudoElt) const = 0;
« no previous file with comments | « LayoutTests/fast/css/getComputedStyle/getComputedStyle-exceptions-expected.txt ('k') | Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698