DescriptionMac: Shift more code into C++ classes from ObjC classes
It is difficult to reason about the liftime of ObjC classes, especially
NSViews and CALayers. To simplify verifying their correctness, move the
bulk of the code for the ObjC classes into C++ helper classes (these
classes are already necessary to interface with owning structures).
Make the NSView sub-class BrowserCompositorViewCocoa be owned by
BrowserCompositorViewMacInternal.
Move the bulk of the work in CompositingIOSurfaceLayer to be done by
CompositingIOSurfaceLayerHelper, and mark that the ownership
relationship should be inverted (that isn't feasible at the moment
because we are mid-transition from non-delegated rendering to delegated
rendering).
BUG=392919
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=284063
Patch Set 1 #Patch Set 2 : Touch-ups #
Total comments: 20
Patch Set 3 : Incorporate review feedback #Patch Set 4 : And the rest #Patch Set 5 : One more feedback #
Total comments: 1
Patch Set 6 : Review feedback #Patch Set 7 : Rebase #
Messages
Total messages: 8 (0 generated)
|