Bug 1411450 - Add the protobuf version to LayerScopePacket.proto. r?mattwoodrow draft
authorFrancois Marier <francois@mozilla.com>
Thu, 26 Oct 2017 16:15:30 -0700
changeset 689810 472231f50c371b30a29f032d1dd736ac00785e1c
parent 689807 3c31593ee859097c8629b875f81754646308e9dd
child 689811 e8092a5702835ac841d46eca2faca3ea7f1a569c
child 690153 93ffd9468e5e20d2f853ae72fc1c18f7eb6a1213
push id87109
push userfmarier@mozilla.com
push dateTue, 31 Oct 2017 23:16:06 +0000
reviewersmattwoodrow
bugs1411450
milestone58.0a1
Bug 1411450 - Add the protobuf version to LayerScopePacket.proto. r?mattwoodrow This is essentially a no-op but it does silence the following warning whenever the *.pb.* files are re-generated: [libprotobuf WARNING google/protobuf/compiler/parser.cc:546] No syntax specified for the proto file: LayerScopePacket.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.) MozReview-Commit-ID: 6L1TXHLcjsj
gfx/layers/protobuf/LayerScopePacket.proto
--- a/gfx/layers/protobuf/LayerScopePacket.proto
+++ b/gfx/layers/protobuf/LayerScopePacket.proto
@@ -1,10 +1,12 @@
 /* vim:set ts=2 sw=2 sts=2 et: */
 
+syntax = "proto2";
+
 option optimize_for = LITE_RUNTIME;
 
 package mozilla.layers.layerscope;
 
 // ===============================
 // Server to Client messages
 // ===============================
 message FramePacket {