mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1125457 - Fix a couple of issues in Downscaler.h that broke the build with --disable-skia. r=me
This commit is contained in:
parent
3a66f27ca6
commit
c233268f64
@ -127,18 +127,18 @@ class Downscaler
|
||||
public:
|
||||
explicit Downscaler(const nsIntSize&)
|
||||
{
|
||||
MOZ_RELEASE_ASSERT("Skia is not enabled");
|
||||
MOZ_RELEASE_ASSERT(false, "Skia is not enabled");
|
||||
}
|
||||
|
||||
const nsIntSize& OriginalSize() const { return nsIntSize(); }
|
||||
const nsIntSize& TargetSize() const { return nsIntSize(); }
|
||||
uint8_t* Buffer() { return nullptr; }
|
||||
|
||||
nsresult BeginFrame(const nsIntSize&, uint8_t*, bool)
|
||||
{
|
||||
return NS_ERROR_FAILURE;
|
||||
}
|
||||
|
||||
uint8_t* RowBuffer() { return nullptr; }
|
||||
void CommitRow() { }
|
||||
bool HasInvalidation() const { return false; }
|
||||
nsIntRect TakeInvalidRect() { return nsIntRect(); }
|
||||
|
Loading…
Reference in New Issue
Block a user