DescriptionCleanup NativeMetafile (win) interface and EMF class.
- Rename CreateDc to Init() and remove unused argument (all non-test calls were CreateDc(NULL, NULL). [This matches cross platform interface.]
- Remove CreateFileBackedDc from the NativeMetafile interface and make InitToFile() in the EMF class.
- Remove CreateFromFile from the NativeMetafile interface and make it InitFromFile() in the EMF class.
- Move the CloseEmf method into the destructor, making the Emf class a use once class (matches actual use).
BUG=NONE
TEST=NONE
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78666
Reverted: http://src.chromium.org/viewvc/chrome?view=rev&revision=78669
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78969
Patch Set 1 #Patch Set 2 : Fix compiler errors #Patch Set 3 : Rebase #Patch Set 4 : Fix unit test. #Patch Set 5 : Typo #
Total comments: 4
Patch Set 6 : Address comments and fix CreateFileBackedDC #Patch Set 7 : Rebase #Patch Set 8 : Fix win compile #Patch Set 9 : Rebase #
Messages
Total messages: 12 (0 generated)
|