Bug 1399489 - CanvasLayer::CanvasLayer(LayerManager*, void*): missing initialisations. r=nical.
authorJulian Seward <jseward@acm.org>
Thu, 14 Sep 2017 12:19:49 +0200
changeset 430435 dffc040eb2f83d3cda52e7eba2058b5b25768330
parent 430434 4951f14df00c19468307b34891448fde4c8c2e3c
child 430436 2c3a82c4ad0a80076f6faa0e263f1b9ef3780c37
push id7761
push userjlund@mozilla.com
push dateFri, 15 Sep 2017 00:19:52 +0000
treeherdermozilla-beta@c38455951db4 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnical
bugs1399489
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1399489 - CanvasLayer::CanvasLayer(LayerManager*, void*): missing initialisations. r=nical.
gfx/layers/Layers.cpp
--- a/gfx/layers/Layers.cpp
+++ b/gfx/layers/Layers.cpp
@@ -2155,16 +2155,17 @@ BorderLayer::PrintInfo(std::stringstream
 void
 BorderLayer::DumpPacket(layerscope::LayersPacket* aPacket, const void* aParent)
 {
   Layer::DumpPacket(aPacket, aParent);
 }
 
 CanvasLayer::CanvasLayer(LayerManager* aManager, void* aImplData)
   : Layer(aManager, aImplData)
+  , mSamplingFilter(SamplingFilter::GOOD)
 {
 }
 
 CanvasLayer::~CanvasLayer() = default;
 
 void
 CanvasLayer::PrintInfo(std::stringstream& aStream, const char* aPrefix)
 {