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

Unified Diff: Source/core/loader/cache/CachedImage.h

Issue 20294002: Fix trailing whitespace in .cpp, .h, and .idl files (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased Created 7 years, 5 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 | « Source/core/loader/cache/CachedFont.cpp ('k') | Source/core/loader/cache/CachedRawResource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/cache/CachedImage.h
diff --git a/Source/core/loader/cache/CachedImage.h b/Source/core/loader/cache/CachedImage.h
index 9215f89804b667ac2879a10070f496d1f5e90308..045094162e49a6c4e86ba67aeb5ed30c237dfb91 100644
--- a/Source/core/loader/cache/CachedImage.h
+++ b/Source/core/loader/cache/CachedImage.h
@@ -47,7 +47,7 @@ public:
CachedImage(const ResourceRequest&);
CachedImage(Image*);
virtual ~CachedImage();
-
+
virtual void load(ResourceFetcher*, const ResourceLoaderOptions&);
Image* image(); // Returns the nullImage() if the image is not available yet.
@@ -56,7 +56,7 @@ public:
bool currentFrameKnownToBeOpaque(const RenderObject*); // Side effect: ensures decoded image is in cache, therefore should only be called when about to draw the image.
std::pair<Image*, float> brokenImage(float deviceScaleFactor) const; // Returns an image and the image's resolution scale factor.
- bool willPaintBrokenImage() const;
+ bool willPaintBrokenImage() const;
bool canRender(const RenderObject* renderer, float multiplier) { return !errorOccurred() && !imageSizeForRenderer(renderer, multiplier).isEmpty(); }
@@ -64,7 +64,7 @@ public:
bool usesImageContainerSize() const;
bool imageHasRelativeWidth() const;
bool imageHasRelativeHeight() const;
-
+
// This method takes a zoom multiplier that can be used to increase the natural size of the image by the zoom.
LayoutSize imageSizeForRenderer(const RenderObject*, float multiplier); // returns the size of the complete image.
void computeIntrinsicDimensions(Length& intrinsicWidth, Length& intrinsicHeight, FloatSize& intrinsicRatio);
@@ -79,7 +79,7 @@ public:
virtual void error(CachedResource::Status);
virtual void responseReceived(const ResourceResponse&);
virtual void finishOnePart() OVERRIDE;
-
+
// For compatibility, images keep loading even if there are HTTP errors.
virtual bool shouldIgnoreHTTPStatusCodeErrors() const { return true; }
« no previous file with comments | « Source/core/loader/cache/CachedFont.cpp ('k') | Source/core/loader/cache/CachedRawResource.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698