Tue, 06 Jan 2015 21:39:09 +0100
Conditionally force memory storage according to privacy.thirdparty.isolate;
This solves Tor bug #9701, complying with disk avoidance documented in
https://www.torproject.org/projects/torbrowser/design/#disk-avoidance.
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file.
7 */
11 #ifndef GrVertexBuffer_DEFINED
12 #define GrVertexBuffer_DEFINED
14 #include "GrGeometryBuffer.h"
16 class GrVertexBuffer : public GrGeometryBuffer {
17 protected:
18 GrVertexBuffer(GrGpu* gpu, bool isWrapped, size_t sizeInBytes, bool dynamic, bool cpuBacked)
19 : INHERITED(gpu, isWrapped, sizeInBytes, dynamic, cpuBacked) {}
20 private:
21 typedef GrGeometryBuffer INHERITED;
22 };
24 #endif