OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2011 Google Inc. All rights reserved. | 2 * Copyright (C) 2011 Google Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * | 7 * |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
57 IntSize contentSize() override; | 57 IntSize contentSize() override; |
58 void writeDocument(SharedBuffer*) override; | 58 void writeDocument(SharedBuffer*) override; |
59 void selectFontsFromOwnerDocument(Document&) override { } | 59 void selectFontsFromOwnerDocument(Document&) override { } |
60 Locale& locale() override; | 60 Locale& locale() override; |
61 void setValueAndClosePopup(int, const String&) override; | 61 void setValueAndClosePopup(int, const String&) override; |
62 void setValue(const String&) override; | 62 void setValue(const String&) override; |
63 void closePopup() override; | 63 void closePopup() override; |
64 Element& ownerElement() override; | 64 Element& ownerElement() override; |
65 void didClosePopup() override; | 65 void didClosePopup() override; |
66 | 66 |
67 DEFINE_INLINE_VIRTUAL_TRACE() | |
68 { | |
69 visitor->trace(m_chromeClient); | |
70 ColorChooserUIController::trace(visitor); | |
71 } | |
72 | |
67 private: | 73 private: |
68 ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserCl ient*); | 74 ColorChooserPopupUIController(LocalFrame*, ChromeClientImpl*, ColorChooserCl ient*); |
69 | 75 |
70 void openPopup(); | 76 void openPopup(); |
71 | 77 |
72 ChromeClientImpl* m_chromeClient; | 78 RawPtrWillBeMember<ChromeClientImpl> m_chromeClient; |
haraken
2015/11/12 14:17:29
It seems that the destructor is touching m_chromeC
sof
2015/11/13 07:35:01
Good catch.
Hmm, given that ChromeClientImpl is h
| |
73 PagePopup* m_popup; | 79 PagePopup* m_popup; |
74 Locale& m_locale; | 80 Locale& m_locale; |
75 }; | 81 }; |
76 | 82 |
77 } // namespace blink | 83 } // namespace blink |
78 | 84 |
79 #endif // ColorChooserPopupUIController_h | 85 #endif // ColorChooserPopupUIController_h |
OLD | NEW |