aboutsummaryrefslogtreecommitdiff
path: root/vendor/gioui.org/io/profile/profile.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/gioui.org/io/profile/profile.go')
-rw-r--r--vendor/gioui.org/io/profile/profile.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/vendor/gioui.org/io/profile/profile.go b/vendor/gioui.org/io/profile/profile.go
index 24bf52b..b9a4476 100644
--- a/vendor/gioui.org/io/profile/profile.go
+++ b/vendor/gioui.org/io/profile/profile.go
@@ -5,7 +5,7 @@
package profile
import (
- "gioui.org/internal/opconst"
+ "gioui.org/internal/ops"
"gioui.org/io/event"
"gioui.org/op"
)
@@ -24,8 +24,8 @@ type Event struct {
}
func (p Op) Add(o *op.Ops) {
- data := o.Write(opconst.TypeProfileLen, p.Tag)
- data[0] = byte(opconst.TypeProfile)
+ data := ops.Write1(&o.Internal, ops.TypeProfileLen, p.Tag)
+ data[0] = byte(ops.TypeProfile)
}
func (p Event) ImplementsEvent() {}