Summary: | [FreeType] Calling the assignment operator from inside a copy constructor on FontPlatformDataFreeType | ||
---|---|---|---|
Product: | WebKit | Reporter: | byeongha.cho |
Component: | Text | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW --- | ||
Severity: | Normal | CC: | bugs-noreply, mcatanzaro |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
byeongha.cho
2015-01-20 22:50:51 PST
(In reply to comment #0) > It isn't a good idiom. Why not? How would you improve it? The copy assignment operator is not virtual, so it should be safe. Calling the assignment operator from inside a copy constructor isn't a good idiom because the former only applies to a fully initialized object and the latter initializes a new object. Please refer https://bugs.webkit.org/show_bug.cgi?id=136327 |