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

Issue 25627006: Generalize ImageForContainer (Closed)

Created:
7 years, 2 months ago by Yoav Weiss
Modified:
7 years, 2 months ago
Reviewers:
pdr., eseidel
CC:
blink-reviews, jamesr, dsinclair, danakj, Rik, f(malita), pdr, Stephen Chennney, pdr.
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Generalize ImageForContainer Following https://codereview.chromium.org/25105004/, I've added the infrastructure that enables adding image data that will not be shared among different representations of that image within the same renderer to Bitmap images. A candidate for such image data would be the intrinsic size factor as part of the srcset implementation. BUG=299556

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -369 lines) Patch
M Source/core/core.gypi View 2 chunks +4 lines, -4 lines 1 comment Download
M Source/core/fetch/ImageResource.h View 2 chunks +2 lines, -3 lines 0 comments Download
M Source/core/fetch/ImageResource.cpp View 5 chunks +11 lines, -16 lines 0 comments Download
M Source/core/platform/graphics/Image.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/platform/graphics/Image.cpp View 1 chunk +10 lines, -0 lines 0 comments Download
A + Source/core/platform/graphics/ImageCache.h View 3 chunks +12 lines, -12 lines 0 comments Download
A + Source/core/platform/graphics/ImageCache.cpp View 5 chunks +16 lines, -15 lines 0 comments Download
A + Source/core/platform/graphics/ImageForContainer.h View 3 chunks +9 lines, -10 lines 0 comments Download
A + Source/core/platform/graphics/ImageForContainer.cpp View 2 chunks +7 lines, -5 lines 2 comments Download
M Source/core/svg/graphics/SVGImage.h View 2 chunks +4 lines, -4 lines 0 comments Download
D Source/core/svg/graphics/SVGImageCache.h View 1 chunk +0 lines, -67 lines 0 comments Download
D Source/core/svg/graphics/SVGImageCache.cpp View 1 chunk +0 lines, -97 lines 0 comments Download
D Source/core/svg/graphics/SVGImageForContainer.h View 1 chunk +0 lines, -81 lines 0 comments Download
D Source/core/svg/graphics/SVGImageForContainer.cpp View 1 chunk +0 lines, -55 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yoav Weiss
As discussed in https://codereview.chromium.org/25105004/, I've chosen option #1 to generalize the ImageForContainer mechanism to Bitmap ...
7 years, 2 months ago (2013-10-04 14:07:45 UTC) #1
pdr.
Other than some minor nits, I think this looks great. I would like one more ...
7 years, 2 months ago (2013-10-04 21:08:04 UTC) #2
Yoav Weiss
https://codereview.chromium.org/25627006/diff/1/Source/core/platform/graphics/ImageForContainer.cpp File Source/core/platform/graphics/ImageForContainer.cpp (right): https://codereview.chromium.org/25627006/diff/1/Source/core/platform/graphics/ImageForContainer.cpp#newcode34 Source/core/platform/graphics/ImageForContainer.cpp:34: return m_image->size(); On 2013/10/04 21:08:04, pdr wrote: > Is ...
7 years, 2 months ago (2013-10-08 08:47:23 UTC) #3
Yoav Weiss
7 years, 2 months ago (2013-10-11 07:54:50 UTC) #4
Since we eventually took a different architecture for image data storage, I'm
closing this CL.

Powered by Google App Engine
This is Rietveld 408576698