| 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..1bc5c0cd1c677c4b104b4df99b2b9fc23ca74200 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| +++ b/third_party/WebKit/Source/core/html/HTMLImageElement.h
|
| @@ -56,19 +56,19 @@ 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;
|
| + unsigned naturalWidth() const;
|
| + unsigned naturalHeight() const;
|
| const String& currentSrc() const;
|
|
|
| bool isServerMap() 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;
|
|
|