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

Unified Diff: Source/core/html/HTMLImageElement.h

Issue 1299563002: HTMLImageElement width/height should updateLayout first. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Check if we're in the document. Created 5 years, 4 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: Source/core/html/HTMLImageElement.h
diff --git a/Source/core/html/HTMLImageElement.h b/Source/core/html/HTMLImageElement.h
index 67edf93352c895755d90fcd73d807aaf2b539da1..751741d44c454f2cfe5a069f0838278ec218b015 100644
--- a/Source/core/html/HTMLImageElement.h
+++ b/Source/core/html/HTMLImageElement.h
@@ -53,8 +53,8 @@ public:
~HTMLImageElement() override;
DECLARE_VIRTUAL_TRACE();
- int width(bool ignorePendingStylesheets = false);
- int height(bool ignorePendingStylesheets = false);
+ int width();
+ int height();
int naturalWidth() const;
int naturalHeight() const;

Powered by Google App Engine
This is Rietveld 408576698