| Index: tools/grit/grit/node/include.py
|
| diff --git a/tools/grit/grit/node/include.py b/tools/grit/grit/node/include.py
|
| index 4bad78594727e45b7f25705336108cfec16866c2..24ef50e79245f779f52a573144b87fae56db7f01 100755
|
| --- a/tools/grit/grit/node/include.py
|
| +++ b/tools/grit/grit/node/include.py
|
| @@ -20,8 +20,6 @@ from grit.node import base
|
| class IncludeNode(base.Node):
|
| """An <include> element."""
|
|
|
| - RESERVED_HEADER = '\xff\x1f\x8b'
|
| -
|
| def __init__(self):
|
| super(IncludeNode, self).__init__()
|
|
|
| @@ -104,16 +102,6 @@ class IncludeNode(base.Node):
|
| data = grit.format.gzip_string.GzipStringRsyncable(data)
|
| else:
|
| data = grit.format.gzip_string.GzipString(data)
|
| - data = self.RESERVED_HEADER[0] + data
|
| - elif data[:3] == self.RESERVED_HEADER:
|
| - # We are reserving these 3 bytes as the header for gzipped files in the
|
| - # data pack. 1f:8b is the first two bytes of a gzipped header, and ff is
|
| - # a custom byte we throw in front of the gzip header so that we prevent
|
| - # accidentally throwing this error on a resource we gzipped beforehand and
|
| - # don't wish to compress again. If this exception is hit, change the first
|
| - # byte of RESERVED_HEADER, and then mirror that update in
|
| - # ui/base/resource/resource_bundle.h
|
| - raise exception.ReservedHeaderCollision()
|
|
|
| # Include does not care about the encoding, because it only returns binary
|
| # data.
|
|
|