Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(250)

Unified Diff: experimental/fiddle/fiddler.go

Issue 1834993003: experimental/fiddle: update to work again (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « experimental/fiddle/fiddle_test ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: experimental/fiddle/fiddler.go
diff --git a/experimental/fiddle/fiddler.go b/experimental/fiddle/fiddler.go
index d3056c95d3f0cecbbcff9a1aa41a75972a1346be..0c0dedbc132a1e3076409a99ff8a32afb62702a9 100644
--- a/experimental/fiddle/fiddler.go
+++ b/experimental/fiddle/fiddler.go
@@ -150,7 +150,7 @@ func main() {
if err != nil {
glog.Fatalf("unable to open \"%s\": %v", os.Args[2], err)
}
- util.Close(inputFile)
+ defer util.Close(inputFile)
if err = fiddler(skiaSrc, inputFile, os.Stdout, tempDir); err != nil {
glog.Fatal(err)
}
« no previous file with comments | « experimental/fiddle/fiddle_test ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698