Index: third_party/WebKit/Source/core/html/HTMLImageElement.h |
diff --git a/third_party/WebKit/Source/core/html/HTMLImageElement.h b/third_party/WebKit/Source/core/html/HTMLImageElement.h |
index b093a00f6709e8c6b2111dab75fc985f8571467c..f26a6ffa3363cdb9afe7d5e5a340461a3265df09 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLImageElement.h |
+++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h |
@@ -56,16 +56,16 @@ class CORE_EXPORT HTMLImageElement final : public HTMLElement, |
HTMLFormElement*, |
bool createdByParser); |
static HTMLImageElement* createForJSConstructor(Document&); |
- static HTMLImageElement* createForJSConstructor(Document&, int width); |
+ static HTMLImageElement* createForJSConstructor(Document&, unsigned width); |
static HTMLImageElement* createForJSConstructor(Document&, |
- int width, |
- int height); |
+ unsigned width, |
+ unsigned height); |
~HTMLImageElement() override; |
DECLARE_VIRTUAL_TRACE(); |
- int width(); |
- int height(); |
+ unsigned width(); |
+ unsigned height(); |
int naturalWidth() const; |
int naturalHeight() const; |
@@ -80,12 +80,12 @@ class CORE_EXPORT HTMLImageElement final : public HTMLElement, |
void setLoadingImageDocument() { imageLoader().setLoadingImageDocument(); } |
- void setHeight(int); |
+ void setHeight(unsigned); |
KURL src() const; |
void setSrc(const String&); |
- void setWidth(int); |
+ void setWidth(unsigned); |
int x() const; |
int y() const; |