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

Issue 9599019: Merge 109171 - [chromium] Inform v8 about extra memory used for PatternSkia clamp mode (Closed)

Created:
8 years, 9 months ago by enne (OOO)
Modified:
8 years, 9 months ago
Reviewers:
enne_
CC:
chromium-reviews
Base URL:
http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Visibility:
Public.

Description

Merge 109171 - [chromium] Inform v8 about extra memory used for PatternSkia clamp mode https://bugs.webkit.org/show_bug.cgi?id=79846 Reviewed by James Robinson. For large images, creating a non-repeating Pattern in Skia can allocate a lot of memory. Inform v8 about this so that it can potentially garbage collect any Pattern objects that aren't being used and that are holding onto large image copies. * platform/graphics/Pattern.cpp: (WebCore::Pattern::Pattern): * platform/graphics/Pattern.h: (Pattern): * platform/graphics/skia/PatternSkia.cpp: (WebCore::Pattern::platformDestroy): (WebCore::Pattern::platformPattern): TBR=enne@google.com Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=109774

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -0 lines) Patch
M Source/WebCore/platform/graphics/Pattern.h View 1 chunk +3 lines, -0 lines 0 comments Download
M Source/WebCore/platform/graphics/Pattern.cpp View 1 chunk +1 line, -0 lines 0 comments Download
M Source/WebCore/platform/graphics/skia/PatternSkia.cpp View 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 1 (0 generated)
enne (OOO)
8 years, 9 months ago (2012-03-05 19:14:25 UTC) #1

          

Powered by Google App Engine
This is Rietveld 408576698