Bug 21072 - Minor dirtyZOrderLists() cleanup
Summary: Minor dirtyZOrderLists() cleanup
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Simon Fraser (smfr)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-24 13:52 PDT by Simon Fraser (smfr)
Modified: 2008-09-24 14:08 PDT (History)
2 users (show)

See Also:


Attachments
Patch, changelog (4.97 KB, patch)
2008-09-24 13:57 PDT, Simon Fraser (smfr)
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2008-09-24 13:52:29 PDT
There are several places that do:

    RenderLayer* stackingContext = stackingContext();
    if (stackingContext)
        stackingContext->dirtyZOrderLists();

This should be wrapped into a single method.
Comment 1 Simon Fraser (smfr) 2008-09-24 13:57:05 PDT
Created attachment 23762 [details]
Patch, changelog
Comment 2 Dave Hyatt 2008-09-24 13:58:28 PDT
Comment on attachment 23762 [details]
Patch, changelog

r=me
Comment 3 Simon Fraser (smfr) 2008-09-24 14:08:35 PDT
Committed r36864
	M	WebCore/rendering/RenderObject.cpp
	M	WebCore/rendering/RenderLayer.cpp
	M	WebCore/rendering/RenderLayer.h
	M	WebCore/ChangeLog
r36864 = 557a047e17efaaa00f818db80aba502ad4469800 (trunk)