- a/Source/WebCore/ChangeLog +14 lines
Lines 1-3 a/Source/WebCore/ChangeLog_sec1
1
2022-02-03  Chris Lord  <clord@igalia.com>
2
3
        Add specialize type traits to GLContext
4
        https://bugs.webkit.org/show_bug.cgi?id=236076
5
6
        Reviewed by NOBODY (OOPS!).
7
8
        Make GLContext downcastable.
9
10
        No new tests, no change in behaviour.
11
12
        * platform/graphics/GLContext.h:
13
        * platform/graphics/egl/GLContextEGL.h:
14
1
2022-01-17  Youenn Fablet  <youenn@apple.com>
15
2022-01-17  Youenn Fablet  <youenn@apple.com>
2
16
3
        Make ServiceWorkerClient.id a UUID instead of a string derived from a ScriptExecutionContextIdentifier
17
        Make ServiceWorkerClient.id a UUID instead of a string derived from a ScriptExecutionContextIdentifier
- a/Source/WebCore/platform/graphics/GLContext.h +5 lines
Lines 121-124 protected: a/Source/WebCore/platform/graphics/GLContext.h_sec1
121
121
122
} // namespace WebCore
122
} // namespace WebCore
123
123
124
#define SPECIALIZE_TYPE_TRAITS_GLCONTEXT(ToValueTypeName, predicate) \
125
SPECIALIZE_TYPE_TRAITS_BEGIN(WebCore::ToValueTypeName) \
126
    static bool isType(const WebCore::GLContext& context) { return context.predicate; } \
127
SPECIALIZE_TYPE_TRAITS_END()
128
124
#endif // GLContext_h
129
#endif // GLContext_h
- a/Source/WebCore/platform/graphics/egl/GLContextEGL.h +2 lines
Lines 120-123 private: a/Source/WebCore/platform/graphics/egl/GLContextEGL.h_sec1
120
120
121
} // namespace WebCore
121
} // namespace WebCore
122
122
123
SPECIALIZE_TYPE_TRAITS_GLCONTEXT(GLContextEGL, isEGLContext());
124
123
#endif // USE(EGL)
125
#endif // USE(EGL)

Return to Bug 236076