summaryrefslogtreecommitdiff
path: root/external/skia/ubsan.patch.0
blob: c249b02f3f14c25f4b1c032b8f18f78e00cafc35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
--- include/private/GrContext_Base.h
+++ include/private/GrContext_Base.h
@@ -20,7 +20,7 @@
 class GrImageContext;
 class GrRecordingContext;
 
-class GrContext_Base : public SkRefCnt {
+class SK_API GrContext_Base : public SkRefCnt {
 public:
     ~GrContext_Base() override;
 
@@ -32,7 +32,7 @@
     /*
      * The 3D API backing this context
      */
-    SK_API GrBackendApi backend() const;
+    GrBackendApi backend() const;
 
     /*
      * Retrieve the default GrBackendFormat for a given SkColorType and renderability.
@@ -41,9 +41,9 @@
      *
      * The caller should check that the returned format is valid.
      */
-    SK_API GrBackendFormat defaultBackendFormat(SkColorType, GrRenderable) const;
+    GrBackendFormat defaultBackendFormat(SkColorType, GrRenderable) const;
 
-    SK_API GrBackendFormat compressedBackendFormat(SkImage::CompressionType) const;
+    GrBackendFormat compressedBackendFormat(SkImage::CompressionType) const;
 
     // TODO: When the public version is gone, rename to refThreadSafeProxy and add raw ptr ver.
     sk_sp<GrContextThreadSafeProxy> threadSafeProxy();