Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: core/fxge/dib/dib_int.h

Issue 2404453003: Strengthen bounds check in CWeightTable::Calc * part II (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | core/fxge/dib/fx_dib_engine.cpp » ('j') | core/fxge/dib/fx_dib_engine.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/fxge/dib/dib_int.h
diff --git a/core/fxge/dib/dib_int.h b/core/fxge/dib/dib_int.h
index aa79b731544c25faf9ed517f3ceabe35f63ad125..24069ec2ace73b4e6605fdf13844b7e3ccf29935 100644
--- a/core/fxge/dib/dib_int.h
+++ b/core/fxge/dib/dib_int.h
@@ -55,7 +55,7 @@ class CWeightTable {
int flags);
PixelWeight* GetPixelWeight(int pixel) const;
int* GetValueFromPixelWeight(PixelWeight* pWeight, int index) const;
- size_t GetPixelWeightSize() const;
+ size_t GetMaximumPixelWeightSize(PixelWeight* pWeight) const;
private:
int m_DestMin;
« no previous file with comments | « no previous file | core/fxge/dib/fx_dib_engine.cpp » ('j') | core/fxge/dib/fx_dib_engine.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698