Index: third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
diff --git a/third_party/WebKit/Source/core/layout/ImageQualityController.cpp b/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
index 68c9d92ddc32333239d9efe514fefd2e57a9bc0e..9b94c5b3dce38332e39b1a298833c80002b59db7 100644 |
--- a/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
+++ b/third_party/WebKit/Source/core/layout/ImageQualityController.cpp |
@@ -91,8 +91,7 @@ |
} |
ImageQualityController::~ImageQualityController() { |
- // This will catch users of ImageQualityController that forget to call |
- // cleanUp. |
+ // This will catch users of ImageQualityController that forget to call cleanUp. |
ASSERT(!gImageQualityController || gImageQualityController->isEmpty()); |
} |
@@ -168,8 +167,8 @@ |
const void* layer, |
const LayoutSize& layoutSize, |
double lastFrameTimeMonotonic) { |
- // If the image is not a bitmap image, then none of this is relevant and we |
- // just paint at high quality. |
+ // If the image is not a bitmap image, then none of this is relevant and we just paint at high |
+ // quality. |
if (!image || !image->isBitmapImage()) |
return false; |
@@ -204,14 +203,12 @@ |
} |
if (layoutSize == image->size()) { |
- // There is no scale in effect. If we had a scale in effect before, we can |
- // just remove this object from the list. |
+ // There is no scale in effect. If we had a scale in effect before, we can just remove this object from the list. |
removeLayer(object, innerMap, layer); |
return false; |
} |
- // If an animated resize is active for this object, paint in low quality and |
- // kick the timer ahead. |
+ // If an animated resize is active for this object, paint in low quality and kick the timer ahead. |
if (objectIsResizing) { |
bool sizesChanged = oldSize != layoutSize; |
set(object, innerMap, layer, layoutSize, sizesChanged); |